共用方式為


ITeamFoundationIdentityService.RefreshIdentity Method

Synchronizes an identity now. This identity must already be in the IMS store. If identity is a group, its DIRECT members' properties will also be synced (asynchronously).

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Function RefreshIdentity ( _
    requestContext As TeamFoundationRequestContext, _
    descriptor As IdentityDescriptor _
) As Boolean
bool RefreshIdentity(
    TeamFoundationRequestContext requestContext,
    IdentityDescriptor descriptor
)
bool RefreshIdentity(
    TeamFoundationRequestContext^ requestContext, 
    IdentityDescriptor^ descriptor
)
abstract RefreshIdentity : 
        requestContext:TeamFoundationRequestContext * 
        descriptor:IdentityDescriptor -> bool
function RefreshIdentity(
    requestContext : TeamFoundationRequestContext, 
    descriptor : IdentityDescriptor
) : boolean

Parameters

Return Value

Type: System.Boolean
True if identity is in IMS (in which case will be synced now), else false.

.NET Framework Security

See Also

Reference

ITeamFoundationIdentityService Interface

Microsoft.TeamFoundation.Server.Core Namespace