The maximum number of records returned for query results.
[Visual Basic 6.0] Property MaxRecordCount As Long
[Visual Basic .NET] Public Property MaxRecordCount As Integer
[C#] public int MaxRecordCount {get; set;}
[Java] public int getMaxRecordCount() throws IOException, AutomationException
[Java] public void setMaxRecordCount( Long MaxRecordCount ) throws IOException, AutomationException
[C++]
HRESULT get_MaxRecordCount(
long* Count
);
[C++] HRESULT put_MaxRecordCount( long Count);
Parameters
Count [out, retval]
Count is a parameter of type long
Count [in]
Count is a parameter of type long
The MaxRecordCount property represents the maximum number of records returned for a query result. This property is used when calling the IGeoDataServer::TableSearch method.
You an use this property to prevent large queries from being executed against the GeoDataServer. For example, if 130,000 rows satisfy the query and the MaxRecordCount is 100,000, then only 100,000 records will be returned. For GeoDataServers published with ArcGIS Server, this value is set by the administrator when the GeoDataServer is created. For locally initialized GeoDataServers, this value can be reset at any time.