TeamFoundationVersionControlService.ReconcileLocalWorkspace Method (TeamFoundationRequestContext, String, String, Guid, array<LocalPendingChange[], array<ServerItemLocalVersionUpdate , Boolean, PathLength)
Reconciles a local workspace's local pending changes with those of the server.
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
Public Function ReconcileLocalWorkspace ( _
requestContext As TeamFoundationRequestContext, _
workspaceName As String, _
ownerName As String, _
pendingChangeSignature As Guid, _
pendingChanges As LocalPendingChange(), _
localVersionUpdates As ServerItemLocalVersionUpdate(), _
clearLocalVersionTable As Boolean, _
maxClientPathLength As PathLength _
) As TeamFoundationDataReader
public TeamFoundationDataReader ReconcileLocalWorkspace(
TeamFoundationRequestContext requestContext,
string workspaceName,
string ownerName,
Guid pendingChangeSignature,
LocalPendingChange[] pendingChanges,
ServerItemLocalVersionUpdate[] localVersionUpdates,
bool clearLocalVersionTable,
PathLength maxClientPathLength
)
public:
TeamFoundationDataReader^ ReconcileLocalWorkspace(
TeamFoundationRequestContext^ requestContext,
String^ workspaceName,
String^ ownerName,
Guid pendingChangeSignature,
array<LocalPendingChange^>^ pendingChanges,
array<ServerItemLocalVersionUpdate^>^ localVersionUpdates,
bool clearLocalVersionTable,
PathLength maxClientPathLength
)
member ReconcileLocalWorkspace :
requestContext:TeamFoundationRequestContext *
workspaceName:string *
ownerName:string *
pendingChangeSignature:Guid *
pendingChanges:LocalPendingChange[] *
localVersionUpdates:ServerItemLocalVersionUpdate[] *
clearLocalVersionTable:bool *
maxClientPathLength:PathLength -> TeamFoundationDataReader
public function ReconcileLocalWorkspace(
requestContext : TeamFoundationRequestContext,
workspaceName : String,
ownerName : String,
pendingChangeSignature : Guid,
pendingChanges : LocalPendingChange[],
localVersionUpdates : ServerItemLocalVersionUpdate[],
clearLocalVersionTable : boolean,
maxClientPathLength : PathLength
) : TeamFoundationDataReader
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
workspaceName
Type: System.StringWorkspace name to reconcile
ownerName
Type: System.StringOwner of the workspace to reconcile.
pendingChangeSignature
Type: System.GuidThe pending change signature of the presented pending changes set (the next parameter.)
pendingChanges
Type: array<Microsoft.TeamFoundation.VersionControl.Server.LocalPendingChange[]The client's current pending changes set.
localVersionUpdates
Type: array<Microsoft.TeamFoundation.VersionControl.Server.ServerItemLocalVersionUpdate[]Local versions changed on the client.
clearLocalVersionTable
Type: System.BooleanTrue to clear the local version table as a part of this call. If true, the contents of the local version table after this call will just be the contents of the localVersionUpdates parameter.
maxClientPathLength
Type: Microsoft.TeamFoundation.VersionControl.Common.PathLengthThe maximum client supported server path length.
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
A reconcile result.
.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.
See Also
Reference
TeamFoundationVersionControlService Class