ArcObjects Library Reference (Carto)  

IMapServerObjects Interface

Provides access to core objects contained within the map document. Note: the IMapServerObjects interface has been superseded byIMapServerObjects2. Please consider using the more recent version.

Product Availability

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

When To Use

This interface is not supported by optimized MapServer.

Members

Description
Method ApplyMapDescription Applies the current state of the map description to the map server object.
Read-only property Layer The layer specified by the map name and layer ID. If the mapName is blank, the default map (active data frame) will be assumed.
Read-only property Map The map corresponding to the specified map name. Pass in a blank string for mapName to get the default map (active data frame).
Read-only property PageLayout The page layout object for the current map document.
Method RefreshServerObjects Updates the server info based on the current state of the underlying fine-grained objects.
Read-only property Thumbnail The thumbnail stored in the map document.

CoClasses that implement IMapServerObjects

CoClasses and Classes Description
MapServer The MapServer component provides programmatic access to the contents of a map document on disk, and creates images of the map contents based on user requests. Designed for use in building map-based web services and web applications.

.NET Samples

Closest facility application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: ClosestFacility_GISServerAPIClass) | Route application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: Route_GISServerAPIClass) | Server spatial query COM utility (Code Files: VegTool_VBNet) | Server spatial query server object extension (Code Files: Extension) | Service area application using the NAServer extension in ArcGIS Server via a GIS server (Code Files: ServiceArea_GISServerAPIClass) |

.NET Related Topics

GeoData services | How to develop the SOE | Managing application state | Map services | Programming with server objects | Releasing COM references | Server object extensions (SOE) | Utility COM objects |