Share via


ITeamProjectCollectionServicing.WaitForCollectionServicingToComplete, méthode (ServicingJobDetail, TimeSpan)

Cette méthode se bloque jusqu'à ce qu'une opération de maintenance de collection terminée. Il retourne la collection résultante. Notez, vous devez avoir l'autorisation au niveau du serveur d'informations de modification de surveiller une gestion de collection.

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

Syntaxe

'Déclaration
Function WaitForCollectionServicingToComplete ( _
    jobDetail As ServicingJobDetail, _
    timeout As TimeSpan _
) As TeamProjectCollection
TeamProjectCollection WaitForCollectionServicingToComplete(
    ServicingJobDetail jobDetail,
    TimeSpan timeout
)

Paramètres

  • timeout
    Type : System.TimeSpan
    L'intervalle de temps qu'un TimeoutException doit se produire après.

Valeur de retour

Type : Microsoft.TeamFoundation.Framework.Client.TeamProjectCollection
La collection de projets d'équipe qui est traitée.

Sécurité .NET Framework

Voir aussi

Référence

ITeamProjectCollectionServicing Interface

WaitForCollectionServicingToComplete, surcharge

Microsoft.TeamFoundation.Framework.Client, espace de noms