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


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

IMapServerSublayer2 Interface

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

Product Availability

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

Members

Description
Read-only property HasLabels Indicates if the layer has labels to turn on and off.
Read-only property LayerDescription The layer description.
Read/write property ScaleSymbols Indicates whether the layer should scale its symbols according to the reference scale.
Read/write property ShowLabels Indicates whether the layer should display its dynamic labels.
Read/write property SourceID The source ID of the layer.

CoClasses that implement IMapServerSublayer2

CoClasses and Classes Description
MapServerBasicSublayer Provides programmatic access to a basic map server sublayer.
MapServerFindSublayer Provides programmatic access to a map server sublayer with Find capability.
MapServerIdentifySublayer Provides programmatic access to a map server sublayer with Identify capability.
MapServerQuerySublayer Provides programmatic access to a map server sublayer with Find and Identify capability.