SessionBase.GetServiceVersions Method (String, String, TransportScheme)
Assembly: Microsoft.Hpc.Scheduler.Session (in Microsoft.Hpc.Scheduler.Session.dll)
public static Version GetServiceVersions ( string headNode, string serviceName, TransportScheme scheme )
public static Version GetServiceVersions ( String headNode, String serviceName, TransportScheme scheme )
public static function GetServiceVersions ( headNode : String, serviceName : String, scheme : TransportScheme ) : Version
String that specifies the head node of the HPC cluster for which you want to get the installed versions of the service.
String that specifies the name of the service for which you want to get the versions that are installed on the HPC cluster.
Specifies the transport scheme to use for the request.
Return ValueAn array of Version object that indicate the versions of the specified service that are installed on the HPC cluster.
Client application that support multiple versions of a Windows Communication Foundation (WCF) service can use this method to check the version of the service that are available on the HPC cluster before using version-specific features of the service.
The version of a service is specified by the file name of the configuration file for the service, which has a format of service_name_major.minor.config. For example, MyService_1.0.config. The version must include the major and minor portions of the version identifier and no further subversions.
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