Feature service GetLayers method

Gets the layers available from the service.

GraphicFeatureLayer[] GetLayers(symbolOutputOptions ServerSymbolOutputOptions, string VersionName)

Parameter

Description

ServerSymbolOutputOptions

Allows you to set how picture symbols are accessed from the service and whether or not to convert label expressions.

VersionName

Geodatabase version to query. This parameter only applies to feature services that expose geodatabases only. If not specified, queries are made against the published map's version.

Return Value

Returns an array of GraphicFeatureLayer objects.

Remarks

A GraphicFeatureLayer describes a distinct set of features provided by the service. These distinct groups of features are also described as layers.

10/23/2013