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
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.
.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.