The MaxRecords property must be set before the Geoprocessing service has started. This property has a default value of 1000.
The maximum number of records property determines the number of output features or records returned by the service. If the number of output records or features created by a geoprocessing task exceeded the maximum number of records, the service will not return any features or records. The clients can identify such cases by examining the exceeded transfer limit property of the feature set or record set returned by the task. The exceeded transfer limit property will be set to true when the number of records and features of the output parameter exceed the maximum number of records specified by the service.