TeamFoundationVersionControlService.Rollback 方法 (TeamFoundationRequestContext, String, String, array<ItemSpec[], VersionSpec, VersionSpec, VersionSpec, Int32, LockLevel, array<String[])

劳斯返回在特定节点构树中的更改特定版本的。

命名空间:  Microsoft.TeamFoundation.VersionControl.Server
程序集:  Microsoft.TeamFoundation.VersionControl.Server(在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)

语法

声明
Public Function Rollback ( _
    requestContext As TeamFoundationRequestContext, _
    workspaceName As String, _
    workspaceOwner As String, _
    items As ItemSpec(), _
    itemVersion As VersionSpec, _
    from As VersionSpec, _
    to As VersionSpec, _
    rollbackOptions As Integer, _
    lockLevel As LockLevel, _
    itemAttributeFilters As String() _
) As TeamFoundationDataReader
public TeamFoundationDataReader Rollback(
    TeamFoundationRequestContext requestContext,
    string workspaceName,
    string workspaceOwner,
    ItemSpec[] items,
    VersionSpec itemVersion,
    VersionSpec from,
    VersionSpec to,
    int rollbackOptions,
    LockLevel lockLevel,
    string[] itemAttributeFilters
)

参数

  • workspaceOwner
    类型:System.String
    工作区域的所有者。
  • rollbackOptions
    类型:System.Int32
    选项,与 RollbackOptions 枚举。

返回值

类型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
的结果 TeamFoundationDataReader 在下面的排序:GetOperation[] -列表更新的客户端 GetOperations。Conflict[] -无法解析的挂起项的列表。则将解析包含回滚操作的详细信息。Failure[] -不回滚的项列表。

.NET Framework 安全性

请参阅

参考

TeamFoundationVersionControlService 类

Rollback 重载

Microsoft.TeamFoundation.VersionControl.Server 命名空间