Export (0) Print
Expand All
Expand Minimize

ISchedulerJob.Priority Property

Retrieves or sets the job priority.


Namespace: Microsoft.Hpc.Scheduler
Assembly: Microsoft.Hpc.Scheduler (in Microsoft.Hpc.Scheduler.dll)

'Usage
Dim instance As ISchedulerJob
Dim value As JobPriority

value = instance.Priority

instance.Priority = value

JobPriority Priority { get; set; }
/** @property */
JobPriority get_Priority ()

/** @property */
void set_Priority (JobPriority value)

function get Priority () : JobPriority

function set Priority (value : JobPriority)

Property Value

The job priority. For possible values, see the JobPriority enumeration.

The Default job template sets the default value to Normal.

Server resources are allocated to jobs based on job priority, except for backfill jobs. Jobs can be preempted if the CanPreempt property is true; otherwise, jobs run until they finish, fail or are canceled.

Within a job, tasks receive resources based on the order in which they were added to the job. If a core is available, the task will run.

In Windows HPC Server 2008 R2, you can use the ExpandedPriority property to set priority values over a scale of 4000 values instead of 5 values. If you set the values of both the Priority and ExpandedPriority properties, the property that you set last determines the priority of the job. When you set the value of one of these properties, the value of the other property is automatically updated to the equivalent value.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012

Target Platforms

Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, with HPC Pack Client Utilities




Build Date:

2013-04-22

Community Additions

ADD
Show:
© 2015 Microsoft