Freigeben über


Repository5.Rollback-Methode

Setzt Änderungen in einer bestimmten Struktur für einen bestimmten Versionsbereich zurück

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Function Rollback ( _
    workspaceName As String, _
    workspaceOwner As String, _
    items As ItemSpec(), _
    itemVersion As VersionSpec, _
    from As VersionSpec, _
    to As VersionSpec, _
    rollbackOptions As Integer, _
    lockLevel As LockLevel, _
    itemPropertyFilters As String(), _
    itemAttributeFilters As String(), _
    maxClientPathLength As Integer, _
    <OutAttribute> ByRef conflicts As StreamingCollection(Of Conflict), _
    <OutAttribute> ByRef failures As StreamingCollection(Of Failure), _
    <OutAttribute> ByRef changePendedFlags As Integer _
) As StreamingCollection(Of GetOperation)
[WebMethodAttribute]
public StreamingCollection<GetOperation> Rollback(
    string workspaceName,
    string workspaceOwner,
    ItemSpec[] items,
    VersionSpec itemVersion,
    VersionSpec from,
    VersionSpec to,
    int rollbackOptions,
    LockLevel lockLevel,
    string[] itemPropertyFilters,
    string[] itemAttributeFilters,
    int maxClientPathLength,
    out StreamingCollection<Conflict> conflicts,
    out StreamingCollection<Failure> failures,
    out int changePendedFlags
)

Parameter

  • workspaceOwner
    Typ: System.String
    Der Besitzer des Arbeitsbereichs.
  • rollbackOptions
    Typ: System.Int32
    Optionen, Entsprechungen oben mit RollbackOptions-Enumeration.
  • itemAttributeFilters
    Typ: array<System.String[]
    Liste von Eigenschaften, mit zurückzukehren rufen ops ab.
  • maxClientPathLength
    Typ: System.Int32
    Die maximale Server-Pfadlänge des Clients unterstützt hat.

Rückgabewert

Typ: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<GetOperation>
Liste von GetOperations für die Aktualisierung des Clients.

.NET Framework-Sicherheit

Siehe auch

Referenz

Repository5 Klasse

Microsoft.TeamFoundation.VersionControl.Server-Namespace