Workspace.Rollback Method (array<String[], RecursionType, VersionSpec, VersionSpec, VersionSpec, LockLevel, RollbackOptions, array<String[], array<String )
Pends a rollback for changes which occurred to a certain path, in 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, _
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
)
public:
GetStatus^ Rollback(
array<String^>^ paths,
RecursionType recursion,
VersionSpec^ itemSpecVersion,
VersionSpec^ versionFrom,
VersionSpec^ versionTo,
LockLevel lockLevel,
RollbackOptions options,
array<String^>^ itemAttributeFilters,
array<String^>^ itemPropertyFilters
)
member Rollback :
paths:string[] *
recursion:RecursionType *
itemSpecVersion:VersionSpec *
versionFrom:VersionSpec *
versionTo:VersionSpec *
lockLevel:LockLevel *
options:RollbackOptions *
itemAttributeFilters:string[] *
itemPropertyFilters:string[] -> GetStatus
public function Rollback(
paths : String[],
recursion : RecursionType,
itemSpecVersion : VersionSpec,
versionFrom : VersionSpec,
versionTo : VersionSpec,
lockLevel : LockLevel,
options : RollbackOptions,
itemAttributeFilters : String[],
itemPropertyFilters : String[]
) : GetStatus
Parameters
paths
Type: array<System.String[]Array of path filters to apply
recursion
Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionTypeA flag that specifies the type of recursion.
itemSpecVersion
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpecThe version spec used to identify the item the user is referring to
versionFrom
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpecThe version we are rolling back from
versionTo
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpecThe version we are rolling back to
lockLevel
Type: Microsoft.TeamFoundation.VersionControl.Client.LockLevelThe lock level to apply to each item being rolled back
options
Type: Microsoft.TeamFoundation.VersionControl.Common.RollbackOptionsOptions to use.
itemAttributeFilters
Type: array<System.String[]Array of properties to include for each get operation.
itemPropertyFilters
Type: array<System.String[]List of property filters.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.GetStatus
Status information
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.