共用方式為


TeamFoundationVersionControlService.Rollback Method

Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)

Syntax

'宣告
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

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

Microsoft.TeamFoundation.VersionControl.Server Namespace