Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 ( _
    jobId As Guid, _
    highPriority As Boolean _
) As Integer
public int QueueJobNow(
    Guid jobId,
    bool highPriority
)
public:
virtual int QueueJobNow(
    Guid jobId, 
    bool highPriority
) sealed
abstract QueueJobNow : 
        jobId:Guid * 
        highPriority:bool -> int 
override QueueJobNow : 
        jobId:Guid * 
        highPriority:bool -> int 
public final function QueueJobNow(
    jobId : Guid, 
    highPriority : boolean
) : int
Parameters
- jobId
 Type: System.Guid
 The Guid object that represents the job ID of the job to queue.
- highPriority
 Type: System.Boolean
 True if the job is high priority; otherwise, false.
Return Value
Type: System.Int32
The number of jobs that were queued.
Implements
ITeamFoundationJobService.QueueJobNow(Guid, Boolean)
.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.