Delen via


IIdentityProvider.TrySyncIdentity Method

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

Syntax

'Declaration
Function TrySyncIdentity ( _
    descriptor As IdentityDescriptor, _
    includeMembership As Boolean, _
    providerInfo As String, _
    requestContext As TeamFoundationRequestContext, _
    syncErrors As SyncErrors, _
    <OutAttribute> ByRef identity As Identity _
) As Boolean
bool TrySyncIdentity(
    IdentityDescriptor descriptor,
    bool includeMembership,
    string providerInfo,
    TeamFoundationRequestContext requestContext,
    SyncErrors syncErrors,
    out Identity identity
)
bool TrySyncIdentity(
    IdentityDescriptor^ descriptor, 
    bool includeMembership, 
    String^ providerInfo, 
    TeamFoundationRequestContext^ requestContext, 
    SyncErrors^ syncErrors, 
    [OutAttribute] Identity^% identity
)
abstract TrySyncIdentity : 
        descriptor:IdentityDescriptor * 
        includeMembership:bool * 
        providerInfo:string * 
        requestContext:TeamFoundationRequestContext * 
        syncErrors:SyncErrors * 
        identity:Identity byref -> bool
function TrySyncIdentity(
    descriptor : IdentityDescriptor, 
    includeMembership : boolean, 
    providerInfo : String, 
    requestContext : TeamFoundationRequestContext, 
    syncErrors : SyncErrors, 
    identity : Identity
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

IIdentityProvider Interface

Microsoft.VisualStudio.Services.Identity Namespace