Share via


TeamProjectCollectionService.QueueDetachCollection, méthode

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

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

Syntaxe

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

Paramètres

  • 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%
    La chaîne de connexion pour la collection qui est détachée.

Valeur de retour

Type : Microsoft.TeamFoundation.Framework.Server.ServicingJobDetail
Le hostId pour l'en attente détachement.

Sécurité .NET Framework

Voir aussi

Référence

TeamProjectCollectionService Classe

Microsoft.TeamFoundation.Server.Core, espace de noms