共用方式為


Workspace.Rollback 方法 (array<String[], RecursionType, VersionSpec, VersionSpec, VersionSpec, LockLevel, RollbackOptions, array<String[], array<String[])

Pends 發生在某個路徑的變更中復原,在指定的版本。

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

語法

'宣告
Public Function Rollback ( _
    paths As String(), _
    recursion As RecursionType, _
    itemSpecVersion As VersionSpec, _
    versionFrom As VersionSpec, _
    versionTo As VersionSpec, _
    lockLevel As LockLevel, _
    options As RollbackOptions, _
    itemAttributeFilters As String(), _
    itemPropertyFilters As String() _
) As GetStatus
public GetStatus Rollback(
    string[] paths,
    RecursionType recursion,
    VersionSpec itemSpecVersion,
    VersionSpec versionFrom,
    VersionSpec versionTo,
    LockLevel lockLevel,
    RollbackOptions options,
    string[] itemAttributeFilters,
    string[] itemPropertyFilters
)

參數

  • paths
    型別:array<System.String[]
    一些套用的路徑篩選
  • itemAttributeFilters
    型別:array<System.String[]
    包含的一些屬性為每個取得作業。
  • itemPropertyFilters
    型別:array<System.String[]
    屬性篩選清單。

傳回值

型別:Microsoft.TeamFoundation.VersionControl.Client.GetStatus
狀態資訊。

.NET Framework 安全性

請參閱

參考

Workspace 類別

Rollback 多載

Microsoft.TeamFoundation.VersionControl.Client 命名空間