GeoData service GetMaxRecordCount method
Gets the maximum number of records that can be returned by a search.
GetMaxRecordCount()
Return Value
An integer value.
Remarks
Returns the maximum number of records that can be returned in a call to TableSearch or GetNextResultPortion. This value is set by the server administrator.
An application should not request a query chunk larger than this size, or a failure will occur.
Examples
C#
GeodataService_GeodataServer geodataservice = new GeodataService_GeodataServer();
geodataservice.Url = "http://localhost:6080/arcgis/services/GeodataService/GeodataServer";
int maxrecordcount = geodataservice.GetMaxRecordCount();
VB.NET
Dim geodataservice As GeodataService_GeoDataServer = New GeodataService_GeoDataServer()
geodataservice.Url = "http://localhost:6080/arcgis/services/GeodataService/GeodataServer"
Dim maxrecordcount As Integer = geodataservice.GetMaxRecordCount()
Java
//Test GetMaxRecordCount
int maxRecordCount = geoDataService.getMaxRecordCount();
10/23/2013