JobPriority Enumeration

Defines the job priority constants.

Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)

Usage

Syntax

'Declaration
<SerializableAttribute> _
<GuidAttribute("846060B2-2267-4da5-AE80-714726B8179C")> _
<ComVisibleAttribute(True)> _
Public Enumeration JobPriority
[SerializableAttribute] 
[GuidAttribute("846060B2-2267-4da5-AE80-714726B8179C")] 
[ComVisibleAttribute(true)] 
public enum JobPriority
[SerializableAttribute] 
[GuidAttribute(L"846060B2-2267-4da5-AE80-714726B8179C")] 
[ComVisibleAttribute(true)] 
public enum class JobPriority
/** @attribute SerializableAttribute() */ 
/** @attribute GuidAttribute("846060B2-2267-4da5-AE80-714726B8179C") */ 
/** @attribute ComVisibleAttribute(true) */ 
public enum JobPriority
SerializableAttribute 
GuidAttribute("846060B2-2267-4da5-AE80-714726B8179C") 
ComVisibleAttribute(true) 
public enum JobPriority

Members

Member name Description
AboveNormal The job has above-normal priority. This enumeration member represents a value of 3.
BelowNormal The job has below-normal priority. This enumeration member represents a value of 1.
Highest The job has the highest priority. This enumeration member represents a value of 4.
Lowest The job has the lowest priority. This enumeration member represents a value of 0.
Normal The job has normal priority. This enumeration member represents a value of 2.

Remarks

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 Lowest = 0
const BelowNormal = 1
const Normal = 2
const AboveNormal = 3
const Highest = 4

Platforms

Development Platforms

Microsoft Windows Compute Cluster Server 2003, Windows Server 2003, Windows XP

Target Platforms

Microsoft Windows Compute Cluster Server 2003, Windows Server 2003 with Compute Cluster Pack Client Utilities, Windows XP with Compute Cluster Pack Client Utilities

See Also

Reference

Microsoft.ComputeCluster Namespace
IJob.Priority Property