Share via


ITeamProjectCollectionServicing.QueueDetachCollection, méthode (Guid, IDictionary<String, String>, String, String%)

Place l'opération en file d'attente instantanée pour la collection.

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

Syntaxe

'Déclaration
Function QueueDetachCollection ( _
    collectionId As Guid, _
    servicingTokens As IDictionary(Of String, String), _
    collectionStoppedMessage As String, _
    <OutAttribute> ByRef detachedConnectionString As String _
) As ServicingJobDetail
ServicingJobDetail QueueDetachCollection(
    Guid collectionId,
    IDictionary<string, string> servicingTokens,
    string collectionStoppedMessage,
    out string detachedConnectionString
)

Paramètres

  • collectionId
    Type : System.Guid
    ID de la collection à l'instantané.
  • collectionStoppedMessage
    Type : System.String
    Message à afficher pour les demandes qui frappent cette collection puisqu'il sera prise hors connexion si elle n'est pas déjà.
  • detachedConnectionString
    Type : System.String%
    Si la valeur true, les données de collection sont préparées pour l'attachement et permettent attaché à l'instance en TFS.
    Chaîne de connexion à la base de données de la collection isolée.

Valeur de retour

Type : Microsoft.TeamFoundation.Framework.Client.ServicingJobDetail
Retourne le résultat de tâche de service qui contient le travail et héberge l'ID

Sécurité .NET Framework

Voir aussi

Référence

ITeamProjectCollectionServicing Interface

QueueDetachCollection, surcharge

Microsoft.TeamFoundation.Framework.Client, espace de noms