TeamFoundationVersionControlService.UpdatePendingState 方法 (TeamFoundationRequestContext, String, String, array<PendingState[], PathLength)

這用來更新衝突並還原到資訊。 它,如果使用註冊的 Get 用戶端下載檔案 wihtout 衝突並更新還原成資訊,才能使用。

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

語法

'宣告
Public Sub UpdatePendingState ( _
    requestContext As TeamFoundationRequestContext, _
    workspaceName As String, _
    workspaceOwner As String, _
    updates As PendingState(), _
    maxClientPathLength As PathLength _
)
public void UpdatePendingState(
    TeamFoundationRequestContext requestContext,
    string workspaceName,
    string workspaceOwner,
    PendingState[] updates,
    PathLength maxClientPathLength
)

參數

  • workspaceName
    類型:System.String
    更新的工作區名稱。

.NET Framework 安全性

請參閱

參考

TeamFoundationVersionControlService 類別

UpdatePendingState 多載

Microsoft.TeamFoundation.VersionControl.Server 命名空間