Share via


ITeamProjectCollectionServicing.WaitForCollectionServicingToComplete Method (ServicingJobDetail)

This method will block until a collection servicing operation has completed. It will then return the resulting collection. Note, you must have the Edit server-level information permission to monitor collection servicing.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Function WaitForCollectionServicingToComplete ( _
    jobDetail As ServicingJobDetail _
) As TeamProjectCollection
TeamProjectCollection WaitForCollectionServicingToComplete(
    ServicingJobDetail jobDetail
)
TeamProjectCollection^ WaitForCollectionServicingToComplete(
    ServicingJobDetail^ jobDetail
)
abstract WaitForCollectionServicingToComplete : 
        jobDetail:ServicingJobDetail -> TeamProjectCollection
function WaitForCollectionServicingToComplete(
    jobDetail : ServicingJobDetail
) : TeamProjectCollection

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Client.TeamProjectCollection
The Team Project Collection that was being serviced.

.NET Framework Security

See Also

Reference

ITeamProjectCollectionServicing Interface

WaitForCollectionServicingToComplete Overload

Microsoft.TeamFoundation.Framework.Client Namespace