Share via


TeamProjectCollectionService.QueueServiceCollection Method

Queue a job to service a collection.

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Public Function QueueServiceCollection ( _
    requestContext As TeamFoundationRequestContext, _
    collection As TeamProjectCollectionProperties, _
    stopHostNow As Boolean, _
    ParamArray servicingOperations As String() _
) As ServicingJobDetail
public ServicingJobDetail QueueServiceCollection(
    TeamFoundationRequestContext requestContext,
    TeamProjectCollectionProperties collection,
    bool stopHostNow,
    params string[] servicingOperations
)
public:
ServicingJobDetail^ QueueServiceCollection(
    TeamFoundationRequestContext^ requestContext, 
    TeamProjectCollectionProperties^ collection, 
    bool stopHostNow, 
    ... array<String^>^ servicingOperations
)
member QueueServiceCollection : 
        requestContext:TeamFoundationRequestContext * 
        collection:TeamProjectCollectionProperties * 
        stopHostNow:bool * 
        servicingOperations:string[] -> ServicingJobDetail
public function QueueServiceCollection(
    requestContext : TeamFoundationRequestContext, 
    collection : TeamProjectCollectionProperties, 
    stopHostNow : boolean, 
    ... servicingOperations : String[]
) : ServicingJobDetail

Parameters

  • stopHostNow
    Type: System.Boolean

    Indicates weather the collection host must be stopped before queuing a servicing job.

  • servicingOperations
    Type: array<System.String[]

    The servicing operation(s) to perform.

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.ServicingJobDetail
Returns the servicing details for the queued servicing operation.

.NET Framework Security

See Also

Reference

TeamProjectCollectionService Class

Microsoft.TeamFoundation.Server.Core Namespace