Provides access to members that support Globe server operations. Note: the IGlobeServer interface has been superseded byIGlobeServer2. Please consider using the more recent version.
Product Availability
Members
Description | ||
---|---|---|
Find | Returns a Globe Server Find Result object that contain the given search string. | |
GetAnimation | Gets the animation stream. | |
GetCacheName | Gets the virtual cache directory for a given layer. | |
GetConfig | Gets the configuration file from a given layer. | |
GetConfiguration | Gets all the configuration and MQT files from a given layer. | |
GetLegendInfos | Returns a collection of Globe Legend Info objects for the specified layers. If layerIDs is Nothing/Null or empty, legend information for all layers is returned. | |
GetMQT | Gets the MQT for a given face from a given layer. | |
GetSymbols | Gets the symbols with given IDs. | |
GetTextures | Gets the textures with given IDs. | |
GetTile | Gets a tile for a given tile location from a given layer. | |
GetVirtualCacheDirectory | Gets the virtual cache directory for a given layer. | |
Identify | Returns a Globe Server Identify Result object at the given location. | |
LayerCount | The number of layers in the server under a certain parent. | |
LayerInfos | A collection of Globe Layer Info objects. | |
Version | The Globe Server version number. |
CoClasses that implement IGlobeServer
CoClasses and Classes | Description |
---|---|
GlobeServer | A Globe Server class that serves Globe Tiles. |
GlobeServerIP | |
GlobeServerLP |
//pass the URL address eg. http://myGlobeServer:6800/arcgis/services
private IAGSServerConnection ConnectToServer(string ServerConnection
{
//Create the ArcGIS connection...
IAGSServerConnectionName pAGSServerConnectionName = new AGSServerConnectionNameClass();
//populate IpropertySet2<
IPropertySet2 pProps = new PropertySetClass();
if (ServerConnection.StartsWith("http://myGlobeServer:6080/"))
pProps.SetProperty("URL", ServerConnection);
else
{
MessageBox.Show("not a valid server connection");
return;
}
//set propeties and return object
pAGSServerConnectionName.ConnectionProperties = pProps;
IName pName;
pName = (IName)pAGSServerConnectionName;
return (IAGSServerConnection)pName.Open();
}