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


IAGSServerConnection4.GetServerVersion Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GISClient)  

IAGSServerConnection4.GetServerVersion Method

Returns the server version.

[Visual Basic .NET]
Public Function GetServerVersion ( _
    ByVal versionType As esriAGSServerVersionType _
) As Object
[C#]
public object GetServerVersion (
    esriAGSServerVersionType versionType
);
[C++]
HRESULT GetServerVersion(
  esriAGSServerVersionType versionType,
  VARIANT* ServerVersion
);
[C++]

Parameters versionType [in]
versionType is a parameter of type esriAGSServerVersionType ServerVersion [out, retval] ServerVersion is a parameter of type VARIANT

Product Availability

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

See Also

IAGSServerConnection4 Interface