Visual Basic (Declaration) | |
---|---|
Public Property MaxRecords As Integer |
C# | |
---|---|
public int MaxRecords {get; set;} |
The MaxRecords property must be set before the LocalGeocodeService has started. This property determines the number of candidates that will be returned when you find addresses interactively (as opposed to batch). The response time is faster when there are fewer candidates to return. This property has a default value of 1000. If the property is not set explicitly the service will return the first 1000 records. 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, although in a LocalServer scenario the performance gain will be marginal as compared to the transmission of results from a remote ArcGIS for Server instance.
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8