Repository4.ReconcileLocalWorkspace Method
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
<WebMethodAttribute> _
Public Function ReconcileLocalWorkspace ( _
workspaceName As String, _
ownerName As String, _
pendingChangeSignature As Guid, _
pendingChanges As LocalPendingChange(), _
localVersionUpdates As ServerItemLocalVersionUpdate(), _
clearLocalVersionTable As Boolean _
) As ReconcileResult
[WebMethodAttribute]
public ReconcileResult ReconcileLocalWorkspace(
string workspaceName,
string ownerName,
Guid pendingChangeSignature,
LocalPendingChange[] pendingChanges,
ServerItemLocalVersionUpdate[] localVersionUpdates,
bool clearLocalVersionTable
)
[WebMethodAttribute]
public:
ReconcileResult^ ReconcileLocalWorkspace(
String^ workspaceName,
String^ ownerName,
Guid pendingChangeSignature,
array<LocalPendingChange^>^ pendingChanges,
array<ServerItemLocalVersionUpdate^>^ localVersionUpdates,
bool clearLocalVersionTable
)
[<WebMethodAttribute>]
member ReconcileLocalWorkspace :
workspaceName:string *
ownerName:string *
pendingChangeSignature:Guid *
pendingChanges:LocalPendingChange[] *
localVersionUpdates:ServerItemLocalVersionUpdate[] *
clearLocalVersionTable:bool -> ReconcileResult
public function ReconcileLocalWorkspace(
workspaceName : String,
ownerName : String,
pendingChangeSignature : Guid,
pendingChanges : LocalPendingChange[],
localVersionUpdates : ServerItemLocalVersionUpdate[],
clearLocalVersionTable : boolean
) : ReconcileResult
Parameters
workspaceName
Type: System.StringWorkspace name to reconcile.
ownerName
Type: System.StringOwner of the workspace to reconcile.
pendingChangeSignature
Type: System.GuidPending changes on the client.
pendingChanges
Type: array<Microsoft.TeamFoundation.VersionControl.Server.LocalPendingChange[]Local versions changed on the client.
localVersionUpdates
Type: array<Microsoft.TeamFoundation.VersionControl.Server.ServerItemLocalVersionUpdate[]True 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.
- clearLocalVersionTable
Type: System.Boolean
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Server.ReconcileResult
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.