This document is archived and information here might be outdated.  Recommended version.


IGeoDataServerInit.MaxRecordCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeodatabaseDistributed > ESRI.ArcGIS.GeoDatabaseDistributed > Interfaces > IG > IGeoDataServerInit Interface > IGeoDataServerInit.MaxRecordCount Property
ArcGIS Developer Help

IGeoDataServerInit.MaxRecordCount Property

The maximum number of records returned for query results.

[Visual Basic .NET]
Public Property MaxRecordCount As Integer
[C#]
public int MaxRecordCount {get; set;}
[C++]
HRESULT get_MaxRecordCount(
  System.Int32* Count
);
[C++]
HRESULT put_MaxRecordCount(
  long Count
);
[C++]
Parameters
Count [out, retval]

Count is a parameter of type long* Count [in]
Count is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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 can 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, only 100,000 records will be returned. For GeoDataServers published with ArcGIS for 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.

 

See Also

IGeoDataServerInit Interface