Delen via


TeamFoundationJobService.QueueJobsNow Method (TeamFoundationRequestContext, IEnumerable<Guid>, Boolean)

Attempts to schedule the specified jobs to run immediately using the specified priority.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function QueueJobsNow ( _
    requestContext As TeamFoundationRequestContext, _
    jobIds As IEnumerable(Of Guid), _
    highPriority As Boolean _
) As Integer
public int QueueJobsNow(
    TeamFoundationRequestContext requestContext,
    IEnumerable<Guid> jobIds,
    bool highPriority
)
public:
int QueueJobsNow(
    TeamFoundationRequestContext^ requestContext, 
    IEnumerable<Guid>^ jobIds, 
    bool highPriority
)
member QueueJobsNow : 
        requestContext:TeamFoundationRequestContext * 
        jobIds:IEnumerable<Guid> * 
        highPriority:bool -> int
public function QueueJobsNow(
    requestContext : TeamFoundationRequestContext, 
    jobIds : IEnumerable<Guid>, 
    highPriority : boolean
) : int

Parameters

Return Value

Type: System.Int32
The number of jobs that were successfully scheduled to run immediately

.NET Framework Security

See Also

Reference

TeamFoundationJobService Class

QueueJobsNow Overload

Microsoft.TeamFoundation.Framework.Server Namespace