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

IAISClientObjectX.GetVersion Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IA > IAISClientObjectX Interface > IAISClientObjectX.GetVersion Method
ArcGIS Developer Help

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
public float GetVersion (
    string serverHost,
    string serverPort
HRESULT GetVersion(
  BSTR serverHost,
  BSTR serverPort
serverHost [in]

serverHost is a parameter of type BSTR serverPort [in]
serverPort is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IAISClientObjectX Interface