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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
collection
Type: Microsoft.TeamFoundation.Framework.Server.TeamProjectCollectionPropertiesThe collection to service.
stopHostNow
Type: System.BooleanIndicates 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
- 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.