![]() ![]() |
ESRI.ArcGIS.ADF.Tasks | |
MaxRecords Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Tasks Namespace > SearchAttributesTask Class : MaxRecords Property |
Visual Basic (Declaration) | |
---|---|
<BrowsableAttribute(True)> <DefaultValueAttribute()> <ResDescriptionAttribute("An integer specifying the maximum number of records that the task will return.")> <PersistenceModeAttribute(PersistenceMode.Attribute)> <ResCategoryAttribute("SearchTask")> Public Property MaxRecords As Integer |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As SearchAttributesTask Dim value As Integer instance.MaxRecords = value value = instance.MaxRecords |
C# | |
---|---|
[BrowsableAttribute(true)] [DefaultValueAttribute()] [ResDescriptionAttribute("An integer specifying the maximum number of records that the task will return.")] [PersistenceModeAttribute(PersistenceMode.Attribute)] [ResCategoryAttribute("SearchTask")] public int MaxRecords {get; set;} |
It is important to note that this value may be limited by the service underlying the map resource on which the search executes. For example, by default ArcGIS Server map services are limited to returning 500 features at a time. To change this value, modify the MaxRecordCount property in the service configuration file (.cfg). For more information, see the discussion topic on Service configuration files.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family