com.esri.arcgis.server
Interface IServerObject

All Superinterfaces:
Serializable
All Known Implementing Classes:
GeocodeServer, GeoDataServer, GeometryServer, GlobeServer, GPJobServer, GPServer, GPServerSync, ImageServer, IndexGenerator, IndexingLauncher, IServerObjectProxy, MapServer, MobileServer, SearchServer, ServerObject

public interface IServerObject
extends Serializable

Provides access to properties of a map or geocode server object.

Remarks

IServerObject is an interface supported by all server objects such as the MapServer and GeocodeServer. The IServerObject interface is returned as the ServerObject property on IServerContext.

The IServerObject interface has properties to indicate the name and type of the server object configuration that created the server object. You can query interface for interfaces supported by the server object type, such as IMapServer for a MapServer object, IGeocodeServer for a GeocodeServer object, IGPServer for a GPServer object or IGlobeServer for a GlobeServer object

Product Availability

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


Method Summary
 String getConfigurationName()
          Name of the server object configuration that defines the server object.
 String getTypeName()
          Type of the server object (MapServer or GeocodeServer).
 

Method Detail

getConfigurationName

String getConfigurationName()
                            throws IOException,
                                   AutomationException
Name of the server object configuration that defines the server object.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTypeName

String getTypeName()
                   throws IOException,
                          AutomationException
Type of the server object (MapServer or GeocodeServer).

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.