ArcObjects Library Reference (GeoDatabaseDistributed)  

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(
  long* 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