Partager via


Repository5.Rollback, méthode

Roule les modifications arrières d'une arborescence données pour une plage spécifique de version

Espace de noms :  Microsoft.TeamFoundation.VersionControl.Server
Assembly :  Microsoft.TeamFoundation.VersionControl.Server (dans Microsoft.TeamFoundation.VersionControl.Server.dll)

Syntaxe

'Déclaration
<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
)

Paramètres

  • workspaceName
    Type : System.String
    Nom de l'espace de travail.
  • workspaceOwner
    Type : System.String
    Le propriétaire de l'espace de travail.
  • rollbackOptions
    Type : System.Int32
    Options, correspondances avec l'énumération de RollbackOptions.
  • itemAttributeFilters
    Type : array<System.String[]
    Liste de propriétés à retourner avec les ops get.
  • maxClientPathLength
    Type : System.Int32
    Longueur prise en charge de chemin d'accès au serveur de client maximale.

Valeur de retour

Type : Microsoft.TeamFoundation.Framework.Server.StreamingCollection<GetOperation>
Liste de GetOperations pour mettre à jour le client.

Sécurité .NET Framework

Voir aussi

Référence

Repository5 Classe

Microsoft.TeamFoundation.VersionControl.Server, espace de noms