This documentation is archived and is not being maintained.
Workspace::Rollback Method (array<String>, RecursionType, VersionSpec, VersionSpec, VersionSpec, LockLevel, RollbackOptions, array<String>)
Visual Studio 2013
Pends a rollback for changes on a certain path, throughout 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 )
Parameters
- paths
- Type: array<System::String>
The 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 that identifies the item to which the user is referring.
- versionFrom
- Type: Microsoft.TeamFoundation.VersionControl.Client::VersionSpec
The version to roll back from (later version).
- versionTo
- Type: Microsoft.TeamFoundation.VersionControl.Client::VersionSpec
The version to roll back to (earlier version).
- lockLevel
- Type: Microsoft.TeamFoundation.VersionControl.Client::LockLevel
The lock level to apply to each item that is being rolled back.
- options
- Type: Microsoft.TeamFoundation.VersionControl.Common::RollbackOptions
Options to use.
- itemAttributeFilters
- Type: array<System::String>
The array of properties to include for each Get operation.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client::GetStatusA GetStatus object that indicates how many operations, conflicts, errors, and so on occurred when the Get operation was being processed.
- 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.
Show: