This document is archived and information here might be outdated.  Recommended version.


IAISClientObjectX.GetVersion Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IAISClientObjectX.GetVersion Method

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.

See Also

IAISClientObjectX Interface