Share via


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

用于更新冲突和还原到消息。 可以使用它,如果客户端下载文件 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
    工作区域的名称更新。
  • workspaceOwner
    类型:System.String
    工作区域的所有者。

.NET Framework 安全性

请参阅

参考

TeamFoundationVersionControlService 类

UpdatePendingState 重载

Microsoft.TeamFoundation.VersionControl.Server 命名空间