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


IGlobeServer.Version Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GlobeCore)  

IGlobeServer.Version Property

The Globe Server version number.

[Visual Basic .NET]
Public ReadOnly Property Version As Single
[C#]
public float Version {get;}
[C++]
HRESULT get_Version(
  float* pVersion
);
[C++]

Parameters pVersion [out, retval] pVersion is a parameter of type float

Product Availability

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

Description

Returns the GlobeServer Version.

[C#]

The following code snipet shows how to get the GlobeServer version on the machine "GlobeLite".

{

m_pServerContext= m_pSOM.CreateServerContext("GlobeLite", "GlobeServer");

//get a globeserver object ...

IServerObject pServerObj=m_pServerContext.ServerObject;

m_pglobeServer= (ESRI.ArcGIS.GlobeCore.IGlobeServer) pServerObj;

System.Diagnostics.Debug.WriteLine(m_pglobeServer.Version.ToString());

}

See Also

IGlobeServer Interface