Repository5.Rollback 方法

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

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

语法

声明
<WebMethodAttribute> _
Public Function Rollback ( _
    workspaceName As String, _
    workspaceOwner As String, _
    items As ItemSpec(), _
    itemVersion As VersionSpec, _
    from As VersionSpec, _
    to As VersionSpec, _
    rollbackOptions As Integer, _
    lockLevel As LockLevel, _
    itemPropertyFilters As String(), _
    itemAttributeFilters As String(), _
    maxClientPathLength As Integer, _
    <OutAttribute> ByRef conflicts As StreamingCollection(Of Conflict), _
    <OutAttribute> ByRef failures As StreamingCollection(Of Failure), _
    <OutAttribute> ByRef changePendedFlags As Integer _
) As StreamingCollection(Of GetOperation)
[WebMethodAttribute]
public StreamingCollection<GetOperation> Rollback(
    string workspaceName,
    string workspaceOwner,
    ItemSpec[] items,
    VersionSpec itemVersion,
    VersionSpec from,
    VersionSpec to,
    int rollbackOptions,
    LockLevel lockLevel,
    string[] itemPropertyFilters,
    string[] itemAttributeFilters,
    int maxClientPathLength,
    out StreamingCollection<Conflict> conflicts,
    out StreamingCollection<Failure> failures,
    out int changePendedFlags
)

参数

  • workspaceOwner
    类型:System.String
    工作区域的所有者。
  • rollbackOptions
    类型:System.Int32
    选项,与 RollbackOptions 枚举。
  • itemAttributeFilters
    类型:array<System.String[]
    列出属性返回与获取 ops。
  • maxClientPathLength
    类型:System.Int32
    最大客户端支持服务器路径长度。

返回值

类型:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<GetOperation>
列出更新的客户端 GetOperations。

.NET Framework 安全性

请参阅

参考

Repository5 类

Microsoft.TeamFoundation.VersionControl.Server 命名空间