SessionBase.GetServiceVersions Method (String, String)
Assembly: Microsoft.Hpc.Scheduler.Session (in Microsoft.Hpc.Scheduler.Session.dll)
public static function GetServiceVersions ( headNode : String, serviceName : String ) : 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.
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.
Platform Note: This method was introduced in Windows HPC Server 2008 R2 and is not supported in earlier versions.
No members of this type are thread safe.
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