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)
Namespace: Microsoft.Hpc.Scheduler.Properties
Assembly: Microsoft.Hpc.Scheduler.Properties (in Microsoft.Hpc.Scheduler.Properties.dll)
| Member name | Description |
|---|---|
| Canceled | The job was canceled. This enumeration member represents a value of 2. |
| CancelRequestReceived | The 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. |
| Failed | The job failed. This enumeration member represents a value of 3. |
| Finished | The job finished. This enumeration member represents a value of 1. |
| None | The 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 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: