This documentation is archived and is not being maintained.

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)

public:
GetStatus^ Rollback(
	array<String^>^ paths, 
	RecursionType recursion, 
	VersionSpec^ itemSpecVersion, 
	VersionSpec^ versionFrom, 
	VersionSpec^ versionTo, 
	LockLevel lockLevel, 
	RollbackOptions options, 
	array<String^>^ itemAttributeFilters, 
	array<String^>^ itemPropertyFilters
)

Parameters

paths
Type: array<System::String>

Array of path filters to apply

recursion
Type: Microsoft.TeamFoundation.VersionControl.Client::RecursionType

A flag that specifies the type of recursion.

itemSpecVersion
Type: Microsoft.TeamFoundation.VersionControl.Client::VersionSpec

The version spec used to identify the item the user is referring to

versionFrom
Type: Microsoft.TeamFoundation.VersionControl.Client::VersionSpec

The version we are rolling back from

versionTo
Type: Microsoft.TeamFoundation.VersionControl.Client::VersionSpec

The version we are rolling back to

lockLevel
Type: Microsoft.TeamFoundation.VersionControl.Client::LockLevel

The lock level to apply to each item being rolled back

options
Type: Microsoft.TeamFoundation.VersionControl.Common::RollbackOptions

Options 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.

Show: