Share via


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

  • ownerName
    Type: System.String

    Owner of the workspace to reconcile.

  • pendingChangeSignature
    Type: System.Guid

    Pending changes on the client.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Server.ReconcileResult
A reconcile result.

.NET Framework Security

See Also

Reference

Repository4 Class

Microsoft.TeamFoundation.VersionControl.Server Namespace