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)
Namespace: Microsoft.Hpc.Scheduler.Properties
Assembly: Microsoft.Hpc.Scheduler.Properties (in Microsoft.Hpc.Scheduler.Properties.dll)
| Member name | Description |
|---|---|
| Graceful | A 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. |
| Immediate | A running job can be preempted immediately. This enumeration member represents a value of 2. |
| None | Running 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 2012Target 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:
Community Additions
ADD
Show: