共用方式為


Repository5.UpdatePendingState Method

This is used to update the Conflict and Revert To information. It can be used if the client downloads files wihtout 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
<WebMethodAttribute> _
Public Sub UpdatePendingState ( _
    workspaceName As String, _
    workspaceOwner As String, _
    updates As PendingState(), _
    maxClientPathLength As Integer _
)
[WebMethodAttribute]
public void UpdatePendingState(
    string workspaceName,
    string workspaceOwner,
    PendingState[] updates,
    int maxClientPathLength
)
[WebMethodAttribute]
public:
void UpdatePendingState(
    String^ workspaceName, 
    String^ workspaceOwner, 
    array<PendingState^>^ updates, 
    int maxClientPathLength
)
[<WebMethodAttribute>]
member UpdatePendingState : 
        workspaceName:string * 
        workspaceOwner:string * 
        updates:PendingState[] * 
        maxClientPathLength:int -> unit
public function UpdatePendingState(
    workspaceName : String, 
    workspaceOwner : String, 
    updates : PendingState[], 
    maxClientPathLength : int
)

Parameters

.NET Framework Security

See Also

Reference

Repository5 Class

Microsoft.TeamFoundation.VersionControl.Server Namespace