TeamProjectCollectionService.QueueServiceCollections Method (TeamFoundationRequestContext, IEnumerable<TeamProjectCollectionProperties>, Boolean, array<String )
Queues jobs to service collections.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Function QueueServiceCollections ( _
requestContext As TeamFoundationRequestContext, _
collections As IEnumerable(Of TeamProjectCollectionProperties), _
stopHostsNow As Boolean, _
ParamArray servicingOperations As String() _
) As List(Of ServicingJobDetail)
public List<ServicingJobDetail> QueueServiceCollections(
TeamFoundationRequestContext requestContext,
IEnumerable<TeamProjectCollectionProperties> collections,
bool stopHostsNow,
params string[] servicingOperations
)
public:
List<ServicingJobDetail^>^ QueueServiceCollections(
TeamFoundationRequestContext^ requestContext,
IEnumerable<TeamProjectCollectionProperties^>^ collections,
bool stopHostsNow,
... array<String^>^ servicingOperations
)
member QueueServiceCollections :
requestContext:TeamFoundationRequestContext *
collections:IEnumerable<TeamProjectCollectionProperties> *
stopHostsNow:bool *
servicingOperations:string[] -> List<ServicingJobDetail>
public function QueueServiceCollections(
requestContext : TeamFoundationRequestContext,
collections : IEnumerable<TeamProjectCollectionProperties>,
stopHostsNow : boolean,
... servicingOperations : String[]
) : List<ServicingJobDetail>
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
collections
Type: System.Collections.Generic.IEnumerable<TeamProjectCollectionProperties>The collections to service.
stopHostsNow
Type: System.BooleanIndicates weather the collection hosts must be stopped before queuing servicing jobs.
servicingOperations
Type: array<System.String[]The servicing operation(s) to perform on the collections.
Return Value
Type: System.Collections.Generic.List<ServicingJobDetail>
The set of queued servicing jobs for the specified collections.
.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.
See Also
Reference
TeamProjectCollectionService Class