This documentation is archived and is not being maintained.
ITeamProjectCollectionServicing.WaitForCollectionServicingToComplete Method (ServicingJobDetail, TimeSpan)
Visual Studio 2013
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)
abstract WaitForCollectionServicingToComplete :
jobDetail:ServicingJobDetail *
timeout:TimeSpan -> TeamProjectCollection
Parameters
- jobDetail
- Type: Microsoft.TeamFoundation.Framework.Client.ServicingJobDetail
The detail of the queued job.
- timeout
- Type: System.TimeSpan
The time span that a TimeoutException should occur after.
Return Value
Type: Microsoft.TeamFoundation.Framework.Client.TeamProjectCollectionThe Team Project Collection that was being serviced.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: