ArcGIS Runtime SDK for WPF - Library Reference
MaxRecords Property
See Also 
ESRI.ArcGIS.Client.Local Namespace > LocalMapService Class : MaxRecords Property

Gets or Sets the maximum number of records that can be returned by the LocalMapService in response to a query, find, or identify operation.

Syntax

Visual Basic (Declaration) 
Public Property MaxRecords As Integer
C# 
public int MaxRecords {get; set;}

Remarks

The MaxRecords property should be set before the LocalMapService has started. This property has a default value of 1000. If the property is not set explicitly the service will return the first 1000 records. The service can still exceed the MaxRecords property set. For both these scenarios more information can be found in the results of an operation to find out whether the service has exceeded the MaxRecords property set. To improve performance it is recommended that the MaxRecords property is set in order to limit an operation that may return a large number of results.

Property Value

A System.Int32 representing the maximum number of records that can be returned by query, find, and identify operations on a local map service.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.