Partilhar via


ITeamFoundationJobService.QueueJobsNow Method (IEnumerable<TeamFoundationJobDefinition>, 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

'Declaração
Function QueueJobsNow ( _
    jobs As IEnumerable(Of TeamFoundationJobDefinition), _
    highPriority As Boolean _
) As Integer
int QueueJobsNow(
    IEnumerable<TeamFoundationJobDefinition> jobs,
    bool highPriority
)
int QueueJobsNow(
    IEnumerable<TeamFoundationJobDefinition^>^ jobs, 
    bool highPriority
)
abstract QueueJobsNow : 
        jobs:IEnumerable<TeamFoundationJobDefinition> * 
        highPriority:bool -> int 
function QueueJobsNow(
    jobs : IEnumerable<TeamFoundationJobDefinition>, 
    highPriority : boolean
) : int

Parameters

  • highPriority
    Type: System.Boolean
    True to flag the specified jobs as high priority; false to flag them as regular priority.

Return Value

Type: System.Int32
The number of jobs that were successfully queued.

.NET Framework Security

See Also

Reference

ITeamFoundationJobService Interface

QueueJobsNow Overload

Microsoft.TeamFoundation.Framework.Client Namespace