Export (0) Print
Expand All

Workspace.Rollback Method (String[], RecursionType, VersionSpec, VersionSpec, VersionSpec, LockLevel, RollbackOptions, String[], 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(
	string[] paths,
	RecursionType recursion,
	VersionSpec itemSpecVersion,
	VersionSpec versionFrom,
	VersionSpec versionTo,
	LockLevel lockLevel,
	RollbackOptions options,
	string[] itemAttributeFilters,
	string[] itemPropertyFilters
)

Parameters

paths
Type: 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: System.String[]

Array of properties to include for each get operation.

itemPropertyFilters
Type: System.String[]

List of property filters.

Show:
© 2014 Microsoft