TeamFoundationVersionControlService.UpdatePendingState Method (TeamFoundationRequestContext, String, String, array<PendingState , PathLength)
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
Public Sub UpdatePendingState ( _
requestContext As TeamFoundationRequestContext, _
workspaceName As String, _
workspaceOwner As String, _
updates As PendingState(), _
maxClientPathLength As PathLength _
)
public void UpdatePendingState(
TeamFoundationRequestContext requestContext,
string workspaceName,
string workspaceOwner,
PendingState[] updates,
PathLength maxClientPathLength
)
public:
void UpdatePendingState(
TeamFoundationRequestContext^ requestContext,
String^ workspaceName,
String^ workspaceOwner,
array<PendingState^>^ updates,
PathLength maxClientPathLength
)
member UpdatePendingState :
requestContext:TeamFoundationRequestContext *
workspaceName:string *
workspaceOwner:string *
updates:PendingState[] *
maxClientPathLength:PathLength -> unit
public function UpdatePendingState(
requestContext : TeamFoundationRequestContext,
workspaceName : String,
workspaceOwner : String,
updates : PendingState[],
maxClientPathLength : PathLength
)
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
workspaceName
Type: System.StringThe name of the workspace to update.
workspaceOwner
Type: System.StringThe owner of the workspace.
updates
Type: array<Microsoft.TeamFoundation.VersionControl.Server.PendingState[]Array of updates.
maxClientPathLength
Type: Microsoft.TeamFoundation.VersionControl.Common.PathLengthThe maximum client supported server path length.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.