This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IG > IGlobeServer Interface > IGlobeServer.Version Property (ArcObjects .NET 10.5 SDK) |
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
Returns the GlobeServer Version.
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());
}