ConnectionEventCode Enumeration
Defines constants that indicate whether an application connected to, disconnected from, or reconnected to the HPC Job Scheduler Service or to the channel that delivers events from the HPC Job Scheduler Service that relate to changes to the states and properties of jobs, tasks, and nodes.
Namespace: Microsoft.Hpc.Scheduler
Assembly: Microsoft.Hpc.Scheduler (in Microsoft.Hpc.Scheduler.dll)
Namespace: Microsoft.Hpc.Scheduler
Assembly: Microsoft.Hpc.Scheduler (in Microsoft.Hpc.Scheduler.dll)
[GuidAttribute("A46F67A3-9C6E-434b-A02A-31765BE668B1")] [ComVisibleAttribute(true)] public enum ConnectionEventCode
/** @attribute GuidAttribute("A46F67A3-9C6E-434b-A02A-31765BE668B1") */
/** @attribute ComVisibleAttribute(true) */
public enum ConnectionEventCode
GuidAttribute("A46F67A3-9C6E-434b-A02A-31765BE668B1") ComVisibleAttribute(true) public enum ConnectionEventCode
| Member name | Description |
|---|---|
| Connect | The application connected to the HPC Job Scheduler Service or to the channel that delivers events from the HPC Job Scheduler Service that relate to changes to the states of jobs, tasks, and nodes. This enumeration member represents a value of 1. |
| EventDisconnect | The application disconnected from the channel that delivers events from the HPC Job Scheduler Service that relate to changes to the states of jobs, tasks, and nodes. This enumeration member represents a value of 5. |
| EventReconnect | The application reconnected to the channel that delivers events from the HPC Job Scheduler Service after getting disconnected from that channel. This enumeration member represents a value of 6. |
| Exception | An exception occurred while the application tried to connect to the HPC Job Scheduler Service. This enumeration member represents a value of 4. |
| None | Not used. This enumeration member represents a value of 0. |
| StoreDisconnect | The application disconnected from the HPC Job Scheduler Service. This enumeration member represents a value of 2. |
| StoreReconnect | The application reconnected to the HPC Job Scheduler Service after getting disconnected from that service. This enumeration member represents a value of 3. |
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 Connect = 1 const StoreDisconnect = 2 const StoreReconnect = 3 const Exception = 4 const EventDisconnect = 5 const EventReconnect = 6
Platform Note: This enumeration was introduced in Windows HPC Server 2008 R2 and is not supported in previous versions.
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: