ITeamFoundationJobService.QueueJobsNow Method (IEnumerable<TeamFoundationJobDefinition>, Boolean)
Puts the specified jobs in the queue and starts them immediately.
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
int QueueJobsNow( IEnumerable<TeamFoundationJobDefinition> jobs, bool highPriority )
- Type: System.Collections.Generic.IEnumerable<TeamFoundationJobDefinition>
An enumerable collection of job definitions to put in the queue.
- Type: System.Boolean
True to flag the specified jobs as high priority; false to flag them as regular priority.
Return ValueType: System.Int32
The number of jobs that were successfully queued.
- 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.