共用方式為


UnauthenticatedProvider.TrySyncIdentity 方法

命名空間:  Microsoft.VisualStudio.Services.Identity
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
Public Function TrySyncIdentity ( _
    descriptor As IdentityDescriptor, _
    includeMembership As Boolean, _
    providerInfo As String, _
    requestContext As TeamFoundationRequestContext, _
    syncErrors As SyncErrors, _
    <OutAttribute> ByRef identity As Identity _
) As Boolean
public bool TrySyncIdentity(
    IdentityDescriptor descriptor,
    bool includeMembership,
    string providerInfo,
    TeamFoundationRequestContext requestContext,
    SyncErrors syncErrors,
    out Identity identity
)

參數

傳回值

類型:System.Boolean

實作

IIdentityProvider.TrySyncIdentity(IdentityDescriptor, Boolean, String, TeamFoundationRequestContext, SyncErrors, Identity%)

.NET Framework 安全性

請參閱

參考

UnauthenticatedProvider 類別

Microsoft.VisualStudio.Services.Identity 命名空間