Delen via


Repository5.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, _
    maxClientPathLength As Integer _
) As ReconcileResult
[WebMethodAttribute]
public ReconcileResult ReconcileLocalWorkspace(
    string workspaceName,
    string ownerName,
    Guid pendingChangeSignature,
    LocalPendingChange[] pendingChanges,
    ServerItemLocalVersionUpdate[] localVersionUpdates,
    bool clearLocalVersionTable,
    int maxClientPathLength
)
[WebMethodAttribute]
public:
ReconcileResult^ ReconcileLocalWorkspace(
    String^ workspaceName, 
    String^ ownerName, 
    Guid pendingChangeSignature, 
    array<LocalPendingChange^>^ pendingChanges, 
    array<ServerItemLocalVersionUpdate^>^ localVersionUpdates, 
    bool clearLocalVersionTable, 
    int maxClientPathLength
)
[<WebMethodAttribute>]
member ReconcileLocalWorkspace : 
        workspaceName:string * 
        ownerName:string * 
        pendingChangeSignature:Guid * 
        pendingChanges:LocalPendingChange[] * 
        localVersionUpdates:ServerItemLocalVersionUpdate[] * 
        clearLocalVersionTable:bool * 
        maxClientPathLength:int -> ReconcileResult
public function ReconcileLocalWorkspace(
    workspaceName : String, 
    ownerName : String, 
    pendingChangeSignature : Guid, 
    pendingChanges : LocalPendingChange[], 
    localVersionUpdates : ServerItemLocalVersionUpdate[], 
    clearLocalVersionTable : boolean, 
    maxClientPathLength : int
) : ReconcileResult

Parameters

  • ownerName
    Type: System.String

    Owner of the workspace to reconcile.

  • clearLocalVersionTable
    Type: System.Boolean

    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.

  • maxClientPathLength
    Type: System.Int32

    The maximum client supported server path length.

Return Value

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

.NET Framework Security

See Also

Reference

Repository5 Class

Microsoft.TeamFoundation.VersionControl.Server Namespace