Assembly: Microsoft.Hpc.Scheduler.Session (in Microsoft.Hpc.Scheduler.Session.dll)
|Http||Specifies a string constant for the HTTP or HTTPS binding scheme, depending on the value of the Secure property. For details, see BasicHttpBinding. This enumeration member represents a value of 2.|
|NetTcp||Specifies a string constant for the NetTcp binding scheme. For details, see NetTcpBinding. This enumeration member represents a value of 1.|
|WebAPI||Specifies that the session should contact the HPC Job Scheduler Service and the broker through the HPC Web Service API based on the representational state transfer (REST) model. This value is used only for sessions that connect to the Windows Azure HPC Scheduler. This enumeration member represents a value of 8. This value is supported starting with Windows HPC Server 2008 R2 with Service Pack 3 (SP3).|
This enumeration is a mask to allow for multiple front ends, each with a different transport scheme, when creating a session. For example, by using
TransportScheme.NetTcp | TransportScheme.Http your session could be accessed by a Windows client using NetTcpBinding, and by a Linux client using Java to access your session with HTTP.
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 then set them equal to the numeric values. The following code example shows how to create and set constants for this enumeration in VBScript.
Development PlatformsWindows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012
Target PlatformsWindows 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