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


IMapServerInit Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IMapServerInit Interface

Provides access to members that support initializing a map server. Note: the IMapServerInit interface has been superseded byIMapServerInit2. Please consider using the more recent version.

Product Availability

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

Members

Description
Method Connect Initializes the map server with an mxd or pmf file stored at the specified path. The path must be accessible to the server machine.
Read-only property FilePath The map document path.
Read/write property MaxBufferCount The maximum number of records buffered on the server for display.
Read/write property MaxImageHeight The maximum height in pixels of an image request.
Read/write property MaxImageWidth The maximum width in pixels of an image request.
Read/write property MaxRecordCount The maximum number of records returned for query results (Identify, Find, QueryFeatureData, and QueryHyperlinks).
Read/write property PhysicalOutputDirectory The physical directory for output files.
Method StartWithData An alternative to calling Connect(). This method synthesizes a map document with a single layer based on the given IDataset object and initializes the map server for processing.
Method Stop Clears out all of the map objects in memory. The client must call one of the Start methods again before attempting any other operations.
Read/write property VirtualOutputDirectory The virtual directory for output files.

CoClasses that implement IMapServerInit

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.