MSDN Library

SessionStartInfo.Priority Property

Retrieves or sets the priority that is given to 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 JobPriority

value = instance.Priority

instance.Priority = value

[ObsoleteAttribute("Priority is obsolete. Use SessionPriority.")] 
public JobPriority Priority { get; set; }
/** @property */
public JobPriority get_Priority ()

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

public function get Priority () : JobPriority

public function set Priority (value : JobPriority)

Property Value

The priority of the job. For possible values, see the JobPriority enumeration. The default is Normal.

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 service job property to False so that the job runs until it finishes, fails, or is canceled.

Platform Note: This property is obsolete for Windows HPC Server 2008 R2. Use the SessionPriority property instead.


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

Microsoft Windows HPC Server 2008, Windows HPC Server 2008 R2, Windows Server 2008 R2, Windows Server 2008, Windows 7, Windows Vista, Windows XP

Target Platforms

Windows Server 2003 R2 with HPC Pack 2008 R2 Client Utilities, Microsoft Windows HPC Server 2008, Windows Server 2008 with HPC Pack 2008 Client Utilities, Windows Vista with HPC Pack 2008 Client Utilities, Windows XP with HPC Pack 2008 Client Utilities, Windows HPC Server 2008 R2, Windows Server 2008 R2 with HPC Pack 2008 R2 Client Utilities, Windows Vista with SP2 and HPC Pack 2008 R2 Client Utilities, Windows XP with SP2 (32-bit version) or SP3 (64-bit version) and HPC Pack 2008 R2 Client Utilities




Build Date:

2012-06-21

Community Additions

Show:
© 2016 Microsoft