Share via


TeamFoundationJobService.QueueJobNow Method (TeamFoundationJobDefinition, Boolean)

Queues the specified job to be executed now.

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

Syntax

'Declaration
Public Function QueueJobNow ( _
    job As TeamFoundationJobDefinition, _
    highPriority As Boolean _
) As Integer
public int QueueJobNow(
    TeamFoundationJobDefinition job,
    bool highPriority
)
public:
virtual int QueueJobNow(
    TeamFoundationJobDefinition^ job, 
    bool highPriority
) sealed
abstract QueueJobNow : 
        job:TeamFoundationJobDefinition * 
        highPriority:bool -> int  
override QueueJobNow : 
        job:TeamFoundationJobDefinition * 
        highPriority:bool -> int
public final function QueueJobNow(
    job : TeamFoundationJobDefinition, 
    highPriority : boolean
) : int

Parameters

  • highPriority
    Type: System.Boolean

    True if this job is high priority; otherwise, false.

Return Value

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

Implements

ITeamFoundationJobService.QueueJobNow(TeamFoundationJobDefinition, Boolean)

.NET Framework Security

See Also

Reference

TeamFoundationJobService Class

QueueJobNow Overload

Microsoft.TeamFoundation.Framework.Client Namespace