Partager via


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

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), _
    priorityLevel As JobPriorityLevel _
) As Integer
public int QueueJobsNow(
    TeamFoundationRequestContext requestContext,
    IEnumerable<Guid> jobIds,
    JobPriorityLevel priorityLevel
)
public:
int QueueJobsNow(
    TeamFoundationRequestContext^ requestContext, 
    IEnumerable<Guid>^ jobIds, 
    JobPriorityLevel priorityLevel
)
member QueueJobsNow : 
        requestContext:TeamFoundationRequestContext * 
        jobIds:IEnumerable<Guid> * 
        priorityLevel:JobPriorityLevel -> int
public function QueueJobsNow(
    requestContext : TeamFoundationRequestContext, 
    jobIds : IEnumerable<Guid>, 
    priorityLevel : JobPriorityLevel
) : 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