JobType Enumeration

Defines the types of jobs that can run in the cluster.


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

'Usage
Dim instance As JobType

[FlagsAttribute] 
[GuidAttribute("E80BA82F-E71A-4D93-B9DB-B1F5B6E3E9AA")] 
[ComVisibleAttribute(true)] 
public enum JobType
/** @attribute FlagsAttribute() */ 
/** @attribute GuidAttribute("E80BA82F-E71A-4D93-B9DB-B1F5B6E3E9AA") */ 
/** @attribute ComVisibleAttribute(true) */ 
public enum JobType
FlagsAttribute 
GuidAttribute("E80BA82F-E71A-4D93-B9DB-B1F5B6E3E9AA") 
ComVisibleAttribute(true) 
public enum JobType

Member nameDescription
AdminA job that contains commands that run immediately (see IScheduler.CreateCommand(String,ICommandInfo,IStringCollection)). This enumeration member represents a value of 2.
BatchA normally scheduled job (see IScheduler.CreateJob). This enumeration member represents a value of 1.
BrokerA broker job that routes requests from a WCF client to a service (session) job. This enumeration member represents a value of 8.
ServiceA service (session) job. This enumeration member represents a value of 4.

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 Batch = 1
const Admin = 2
const Service = 4
const Broker = 8

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: