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


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

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

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 %).

CoClasses that implement IMapServerLayer

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