Repository5.ReconcileLocalWorkspace 方法

使與本機工作區的本機暫存變更伺服器。

命名空間:  Microsoft.TeamFoundation.VersionControl.Server
組件:  Microsoft.TeamFoundation.VersionControl.Server (在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)

語法

'宣告
<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
)

參數

  • ownerName
    類型:System.String
    協調工作區的擁有人。
  • clearLocalVersionTable
    類型:System.Boolean
    TRUE 會清除本機版本清除為呼叫的一部分。如果為 True,本機版本資料表的內容在這個呼叫之後將是 localVersionUpdates 參數的內容。
  • maxClientPathLength
    類型:System.Int32
    最大用戶端支援伺服器路徑長度。

傳回值

類型:Microsoft.TeamFoundation.VersionControl.Server.ReconcileResult
其結果。

.NET Framework 安全性

請參閱

參考

Repository5 類別

Microsoft.TeamFoundation.VersionControl.Server 命名空間