Map Service GetServiceConfigurationInfo method

Gets a set of name-value pairs that contain information on map service configuration restrictions.

 

GetServiceConfigurationInfo()

 

Return Value 

 

A PropertySet containing read-only properties for map service restrictions.

 

Remarks

 

Use this method to get restrictions set for a map service by the publisher that are stored in a map service configuration file (.cfg).

 

Four properties are included in the PropertySet returned from this method:

 

Property name

Description

MaximumRecordCount

Maximum number of records returned when querying a map service. Restricts records returned from Find, Identify, QueryFeatureData, and QueryHyperlinks. If the number of records exceeds the maximum value, only the maximum number of records will be returned.
 

MaximumBufferCount

Maximum number of features per layer that can be buffered when generating a map using ExportMapImage. Buffer properties for feature in a layer are defined using a LayerDescription (e.g. SelectionBufferDistance).
 

MaximumImageWidth

Maximum image width in pixels.  Restricts images generated by ExportMapImage and ExportScaleBar. If a value greater than the maximum is specified, the maximum value will be used.  
 

MaximumImageHeight

Maximum image height in pixels. Restricts images generated by ExportMapImage and ExportScaleBar. If a value greater than the maximum is specified, the maximum value will be used.
 

 

Examples

C#

VB.NET

Java