Export (0) Print
Expand All

SessionStartInfo.SessionPriority Property

Gets or sets the priority for the service job.


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

'Usage
Dim instance As SessionStartInfo
Dim value As Integer

value = instance.SessionPriority

instance.SessionPriority = value

public int SessionPriority { get; set; }
/** @property */
public int get_SessionPriority ()

/** @property */
public void set_SessionPriority (int value)

public function get SessionPriority () : int

public function set SessionPriority (value : int)

Property Value

A Int32 between 0 and 4000 that specifies the priority for the service job, where 0 is the lowest priority and 4000 is the highest.

The default priority is 2000.

Server resources are allocated to jobs based on job priority, except for backfill jobs.

Note that jobs can be preempted. The default preemption mode is Graceful, which means that the job is preempted only after its running tasks complete. In case another preemption mode is set, consider setting the CanPreempt property for the service job to False so that the job runs until it finishes, fails, or is canceled.

Platform Note: This property was introduced in Windows HPC Server 2008 R2 and is not supported in earlier versions.


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:
© 2014 Microsoft