TeamFoundationVersionControlService.Rollback Method
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Dichiarazione
Public Function Rollback ( _
requestContext As TeamFoundationRequestContext, _
workspaceName As String, _
workspaceOwner As String, _
items As ItemSpec(), _
itemVersion As VersionSpec, _
from As VersionSpec, _
to As VersionSpec, _
rollbackOptions As Integer, _
lockLevel As LockLevel, _
propertyNameFilters As String() _
) As TeamFoundationDataReader
public TeamFoundationDataReader Rollback(
TeamFoundationRequestContext requestContext,
string workspaceName,
string workspaceOwner,
ItemSpec[] items,
VersionSpec itemVersion,
VersionSpec from,
VersionSpec to,
int rollbackOptions,
LockLevel lockLevel,
string[] propertyNameFilters
)
public:
TeamFoundationDataReader^ Rollback(
TeamFoundationRequestContext^ requestContext,
String^ workspaceName,
String^ workspaceOwner,
array<ItemSpec^>^ items,
VersionSpec^ itemVersion,
VersionSpec^ from,
VersionSpec^ to,
int rollbackOptions,
LockLevel lockLevel,
array<String^>^ propertyNameFilters
)
member Rollback :
requestContext:TeamFoundationRequestContext *
workspaceName:string *
workspaceOwner:string *
items:ItemSpec[] *
itemVersion:VersionSpec *
from:VersionSpec *
to:VersionSpec *
rollbackOptions:int *
lockLevel:LockLevel *
propertyNameFilters:string[] -> TeamFoundationDataReader
public function Rollback(
requestContext : TeamFoundationRequestContext,
workspaceName : String,
workspaceOwner : String,
items : ItemSpec[],
itemVersion : VersionSpec,
from : VersionSpec,
to : VersionSpec,
rollbackOptions : int,
lockLevel : LockLevel,
propertyNameFilters : String[]
) : TeamFoundationDataReader
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- workspaceName
Type: System.String
- workspaceOwner
Type: System.String
- items
Type: array<Microsoft.TeamFoundation.VersionControl.Server.ItemSpec[]
- itemVersion
Type: Microsoft.TeamFoundation.VersionControl.Server.VersionSpec
- rollbackOptions
Type: System.Int32
- lockLevel
Type: Microsoft.TeamFoundation.VersionControl.Server.LockLevel
- propertyNameFilters
Type: array<System.String[]
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
.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.