Delen via


TeamFoundationVersionControlService.ReconcileLocalWorkspace Method (TeamFoundationRequestContext, String, String, Guid, array<LocalPendingChange[], array<ServerItemLocalVersionUpdate , Boolean)

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 _
) As TeamFoundationDataReader
public TeamFoundationDataReader ReconcileLocalWorkspace(
    TeamFoundationRequestContext requestContext,
    string workspaceName,
    string ownerName,
    Guid pendingChangeSignature,
    LocalPendingChange[] pendingChanges,
    ServerItemLocalVersionUpdate[] localVersionUpdates,
    bool clearLocalVersionTable
)
public:
TeamFoundationDataReader^ ReconcileLocalWorkspace(
    TeamFoundationRequestContext^ requestContext, 
    String^ workspaceName, 
    String^ ownerName, 
    Guid pendingChangeSignature, 
    array<LocalPendingChange^>^ pendingChanges, 
    array<ServerItemLocalVersionUpdate^>^ localVersionUpdates, 
    bool clearLocalVersionTable
)
member ReconcileLocalWorkspace : 
        requestContext:TeamFoundationRequestContext * 
        workspaceName:string * 
        ownerName:string * 
        pendingChangeSignature:Guid * 
        pendingChanges:LocalPendingChange[] * 
        localVersionUpdates:ServerItemLocalVersionUpdate[] * 
        clearLocalVersionTable:bool -> TeamFoundationDataReader
public function ReconcileLocalWorkspace(
    requestContext : TeamFoundationRequestContext, 
    workspaceName : String, 
    ownerName : String, 
    pendingChangeSignature : Guid, 
    pendingChanges : LocalPendingChange[], 
    localVersionUpdates : ServerItemLocalVersionUpdate[], 
    clearLocalVersionTable : boolean
) : TeamFoundationDataReader

Parameters

  • ownerName
    Type: System.String

    Owner of the workspace to reconcile.

  • pendingChangeSignature
    Type: System.Guid

    The pending change signature of the presented pending changes set (the next parameter.)

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

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
A reconcile result.

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

ReconcileLocalWorkspace Overload

Microsoft.TeamFoundation.VersionControl.Server Namespace