JobEvent Enumeration

Defines the completed job states for which job history is captured.


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

'Usage
Dim instance As JobEvent

[SerializableAttribute] 
public enum JobEvent
/** @attribute SerializableAttribute() */ 
public enum JobEvent
SerializableAttribute 
public enum JobEvent

Member nameDescription
CanceledThe job was canceled. This enumeration member represents a value of 2.
CancelRequestReceivedThe HPC Job Scheduler Service received a request from a user to cancel the job. This enumeration member represents a value of 4. This value was introduced in Windows HPC Server 2008 R2 and is not supported in previous versions.
FailedThe job failed. This enumeration member represents a value of 3.
FinishedThe job finished. This enumeration member represents a value of 1.
NoneThe job has not completed. This enumeration member represents a value of 0.

To get job history, call the IScheduler.OpenJobHistoryEnumerator method.

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 Finished = 1
const Canceled = 2
const Failed = 3
const CancelRequestReceived = 4

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: