Partager via


Workspace.PendUndelete, méthode (String, Int32, String, LockLevel, Boolean, Boolean, Boolean, array<String[])

Les files d'attente ont supprimé des fichiers ou dossiers pour la restauration au référentiel de contrôle de version.

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

Syntaxe

'Déclaration
Public Function PendUndelete ( _
    path As String, _
    deletionId As Integer, _
    newPath As String, _
    lockLevel As LockLevel, _
    updateDisk As Boolean, _
    detectFolderAtTarget As Boolean, _
    silent As Boolean, _
    itemAttributeFilters As String() _
) As Integer
public int PendUndelete(
    string path,
    int deletionId,
    string newPath,
    LockLevel lockLevel,
    bool updateDisk,
    bool detectFolderAtTarget,
    bool silent,
    string[] itemAttributeFilters
)

Paramètres

  • path
    Type : System.String
    Le chemin d'accès aux éléments à restaurer.
  • deletionId
    Type : System.Int32
    Les ID de suppression des éléments à restaurer.
  • newPath
    Type : System.String
    Nouveau chemin d'accès facultatif pour les éléments restauration.
  • updateDisk
    Type : System.Boolean
    True à écrire a restauré des éléments au disque local.False pour laisser le disque local inchangé.
  • detectFolderAtTarget
    Type : System.Boolean
    True pour rechercher un dossier local existant à la cible. False à ne pas trouver.
  • silent
    Type : System.Boolean
    Spécifie si le serveur doit retourner des opération d'extraction.
  • itemAttributeFilters
    Type : array<System.String[]
    Liste du nom de la propriété filtre pour revenir aux opération d'extraction.

Valeur de retour

Type : System.Int32
Le nombre de modifications en attente.

Sécurité .NET Framework

Voir aussi

Référence

Workspace Classe

PendUndelete, surcharge

Microsoft.TeamFoundation.VersionControl.Client, espace de noms