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


IMxdServerObjects Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IMxdServerObjects Interface

Provides access to the core objects contained within the map document.

Product Availability

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

Members

Description
Read-only property Layer The layer specified by the map name and layer ID. If the mapName is blank, the default map will be assumed. If the map or layer specified is not found, an E_INVALIDARG error will be returned.
Read-only property Map The map corresponding to the specified map name. Pass in a blank string for mapName to get the default map. If the mapName does not correspond to any map in the document, E_INVALIDARG is returned and ppMap will be null.
Read-only property PageLayout The page layout object for the current map document.

CoClasses that implement IMxdServerObjects

CoClasses and Classes Description
MxdServer The MxdServer 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.