This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IA > IAISClientObjectX Interface > IAISClientObjectX.GetVersion Method (ArcObjects .NET 10.5 SDK) |
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