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)

'Usage
Dim instance As ConnectionEventCode

[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 nameDescription
ConnectThe 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.
EventDisconnectThe 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.
EventReconnectThe 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.
ExceptionAn exception occurred while the application tried to connect to the HPC Job Scheduler Service. This enumeration member represents a value of 4.
NoneNot used. This enumeration member represents a value of 0.
StoreDisconnectThe application disconnected from the HPC Job Scheduler Service. This enumeration member represents a value of 2.
StoreReconnectThe 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 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: