Share via


IProfileService.Get-Methode

Ruft das Profil ab, die der angegebenen Identitäts-ID zugeordnet ist

Namespace:  Microsoft.VisualStudio.Services.Profile
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Function Get ( _
    requestContext As TeamFoundationRequestContext, _
    id As Guid, _
    queryContext As ProfileQueryContext _
) As Profile
Profile Get(
    TeamFoundationRequestContext requestContext,
    Guid id,
    ProfileQueryContext queryContext
)

Parameter

  • id
    Typ: System.Guid
    Der GUID der Identität, mit der das Profil zugeordnet ist.1 bis 1 Existiert eine Zuordnung zwischen einer Identität und einem Profil

Rückgabewert

Typ: Microsoft.VisualStudio.Services.Profile.Profile

.NET Framework-Sicherheit

Siehe auch

Referenz

IProfileService Schnittstelle

Microsoft.VisualStudio.Services.Profile-Namespace