Returns the version number of Server on specified host and port. An empty port will use the default server port
[Visual Basic .NET] Public Function GetVersion ( _ ByVal serverHost As String, _ ByVal serverPort As String _ ) As Single
[C#] public float GetVersion ( string serverHost, string serverPort );
[C++]
HRESULT GetVersion(
BSTR serverHost,
BSTR serverPort,
float* Version
);
[C++]Parameters
serverHost [in] serverHost is a parameter of type BSTR serverPort [in] serverPort is a parameter of type BSTR Version [out, retval] Version is a parameter of type float
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.