Export (0) Print
Expand All
Expand Minimize

PreemptionMode Enumeration

Defines when a higher priority job can preempt a lower priority job.


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

'Usage
Dim instance As PreemptionMode

public enum PreemptionMode
public enum PreemptionMode
public enum PreemptionMode

Member nameDescription
GracefulA running job can be preempted only after the tasks that are currently running complete. Any remaining tasks in the job will not run. This enumeration member represents a value of 1.
ImmediateA running job can be preempted immediately. This enumeration member represents a value of 2.
NoneRunning jobs cannot be preempted by higher priority jobs. This enumeration member represents a value of 0.

To use this enumeration in Visual Basic Scripting Edition (VBScript), you need to use the numeric values for the enumeration members or create constants that correspond to those members and set them equal to the numeric values. The following code example shows how to create and set constants for this enumeration in VBScript.

const None = 0
const Graceful = 1
const Immediate = 2

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