共用方式為


TeamFoundationVersionControlService.UpdatePendingState Method (TeamFoundationRequestContext, String, String, array<PendingState )

This is used to update the Conflict and Revert To information. It can be used if the client downloads files without using a Get to register conflicts and update revert to information.

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

Syntax

'Declaration
Public Sub UpdatePendingState ( _
    requestContext As TeamFoundationRequestContext, _
    workspaceName As String, _
    workspaceOwner As String, _
    updates As PendingState() _
)
public void UpdatePendingState(
    TeamFoundationRequestContext requestContext,
    string workspaceName,
    string workspaceOwner,
    PendingState[] updates
)
public:
void UpdatePendingState(
    TeamFoundationRequestContext^ requestContext, 
    String^ workspaceName, 
    String^ workspaceOwner, 
    array<PendingState^>^ updates
)
member UpdatePendingState : 
        requestContext:TeamFoundationRequestContext * 
        workspaceName:string * 
        workspaceOwner:string * 
        updates:PendingState[] -> unit
public function UpdatePendingState(
    requestContext : TeamFoundationRequestContext, 
    workspaceName : String, 
    workspaceOwner : String, 
    updates : PendingState[]
)

Parameters

  • workspaceName
    Type: System.String

    The name of the workspace to update.

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

UpdatePendingState Overload

Microsoft.TeamFoundation.VersionControl.Server Namespace