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


IGeoDataServer.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 > IGeoDataServer Interface > IGeoDataServer.MaxRecordCount Property
ArcGIS Developer Help

IGeoDataServer.MaxRecordCount Property

The maximum number of records to be returned by a search.

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

maxCount is a parameter of type long*

Product Availability

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

Remarks

The MaxRecordCount returns the maximum number of records that can be returned at once by a search. This value is stored as a configuration parameter with GeoDataServers publised on ArcGIS for Server. When intializing GeoDataServers from local geodatabases, you can set this value using the IGeoDataServerInit::MaxRecordCount property. 

The TableSearch and GetNextResultPortion methods use this value to determine the maximum number of records that can be returned at once.

See Also

IGeoDataServer Interface