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


IGlobeServer.Version Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IG > IGlobeServer Interface > IGlobeServer.Version Property
ArcGIS Developer Help

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(
  System.Single* pVersion
);
[C++]
Parameters
pVersion [out, retval]

pVersion is a parameter of type single*

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