Repository5.UpdatePendingState 方法
這用來更新衝突並還原到資訊。 它,如果使用註冊的 Get 用戶端下載檔案 wihtout 衝突並更新還原成資訊,才能使用。
命名空間: Microsoft.TeamFoundation.VersionControl.Server
組件: Microsoft.TeamFoundation.VersionControl.Server (在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)
語法
'宣告
<WebMethodAttribute> _
Public Sub UpdatePendingState ( _
workspaceName As String, _
workspaceOwner As String, _
updates As PendingState(), _
maxClientPathLength As Integer _
)
[WebMethodAttribute]
public void UpdatePendingState(
string workspaceName,
string workspaceOwner,
PendingState[] updates,
int maxClientPathLength
)
參數
- workspaceName
類型:System.String
- workspaceOwner
類型:System.String
- updates
類型:array<Microsoft.TeamFoundation.VersionControl.Server.PendingState[]
- maxClientPathLength
類型:System.Int32
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。