ITeamFoundationJobService.QueueJobsNow Method (IEnumerable<Guid>, Boolean)
Puts the specified jobs in the queue and starts them immediately.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Déclaration
Function QueueJobsNow ( _
jobIds As IEnumerable(Of Guid), _
highPriority As Boolean _
) As Integer
int QueueJobsNow(
IEnumerable<Guid> jobIds,
bool highPriority
)
int QueueJobsNow(
IEnumerable<Guid>^ jobIds,
bool highPriority
)
abstract QueueJobsNow :
jobIds:IEnumerable<Guid> *
highPriority:bool -> int
function QueueJobsNow(
jobIds : IEnumerable<Guid>,
highPriority : boolean
) : int
Parameters
- jobIds
Type: System.Collections.Generic.IEnumerable<Guid>
An enumerable collection of GUIDs of the jobs to put in the queue.
- highPriority
Type: System.Boolean
True to flag the specified jobs as high priority; false to specify them as regular priority.
Return Value
Type: System.Int32
The number of jobs that were successfully queued.
.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.