Microsoft SDK for Java

getMaxRecords

The getMaxRecords and setMaxRecords methods of the Recordset class indicate or set the maximum number of records to return to a Recordset from a query, respectively.

Syntax

public int getMaxRecords();
public void setMaxRecords(int maxRecords);

Return Value

Sets or returns a value whose default is zero (no limit).

Parameters

maxRecords The maximum number of records.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.