Share via


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

Pends a rollback for changes on a certain path, within the specified versions.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public Function Rollback ( _
    paths As String(), _
    recursion As RecursionType, _
    itemSpecVersion As VersionSpec, _
    versionFrom As VersionSpec, _
    versionTo As VersionSpec, _
    lockLevel As LockLevel, _
    options As RollbackOptions, _
    propertyNameFilters As String() _
) As GetStatus
public GetStatus Rollback(
    string[] paths,
    RecursionType recursion,
    VersionSpec itemSpecVersion,
    VersionSpec versionFrom,
    VersionSpec versionTo,
    LockLevel lockLevel,
    RollbackOptions options,
    string[] propertyNameFilters
)
public:
GetStatus^ Rollback(
    array<String^>^ paths, 
    RecursionType recursion, 
    VersionSpec^ itemSpecVersion, 
    VersionSpec^ versionFrom, 
    VersionSpec^ versionTo, 
    LockLevel lockLevel, 
    RollbackOptions options, 
    array<String^>^ propertyNameFilters
)
member Rollback : 
        paths:string[] * 
        recursion:RecursionType * 
        itemSpecVersion:VersionSpec * 
        versionFrom:VersionSpec * 
        versionTo:VersionSpec * 
        lockLevel:LockLevel * 
        options:RollbackOptions * 
        propertyNameFilters:string[] -> GetStatus 
public function Rollback(
    paths : String[], 
    recursion : RecursionType, 
    itemSpecVersion : VersionSpec, 
    versionFrom : VersionSpec, 
    versionTo : VersionSpec, 
    lockLevel : LockLevel, 
    options : RollbackOptions, 
    propertyNameFilters : String[]
) : GetStatus

Parameters

  • paths
    Type: array<System.String[]
    The array of path filters to apply.
  • propertyNameFilters
    Type: array<System.String[]
    The array of properties to include for each Get operation.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.GetStatus
A GetStatus object that indicates how many operations, conflicts, errors, and so forth occurred while the Get operation was being processed.

.NET Framework Security

See Also

Reference

Workspace Class

Rollback Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace