This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > GeoDatabaseDistributed > ESRI.ArcGIS.GeoDatabaseDistributed > Interfaces > IG > IGeoDataServer Interface > IGeoDataServer.MaxRecordCount Property (ArcObjects .NET 10.5 SDK) |
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
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.