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


IMapServerLayer Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServerLayer Interface
ArcGIS Developer Help

IMapServerLayer Interface

Provides access to the available properties of a map server layer object.

Product Availability

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

Members

Name Description
Read-only property BackgroundColor The background color of a map server layer object.
Method ClearDrawCache Clears the cache of images downloaded from the server redraw.
Method GetConnectionInfo Returns information about a connection to a map server object or to a map document.
Method LocalConnect Connects to map document data frame specified by the location of a map document and the name of a data frame.
Method ServerConnect Connects to map server object specified by the AGSServerObject name for a MapServer server object and the name of a data frame.
Read/write property TransparentColor The color that is transparent (100 %).

Classes that implement IMapServerLayer

Classes Description
MapServerLayer Provides programmatic access to a map server layer.