Java.Sql.IStatement.MaxRows Property
Gets the maximum number of rows that a ResultSet can contain when produced from this statement.

Syntax

[get: Android.Runtime.Register("getMaxRows", "()I", "GetGetMaxRowsHandler:Java.Sql.IStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
[set: Android.Runtime.Register("setMaxRows", "(I)V", "GetSetMaxRows_IHandler:Java.Sql.IStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public int MaxRows { get; set; }

Value

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Sql.SQLExceptionif an error occurs accessing the database.
Java.Sql.SQLExceptionif an error occurs accessing the database or if max 0.

Remarks

Get method documentation [Android Documentation]

Gets the maximum number of rows that a ResultSet can contain when produced from this statement. If the limit is exceeded, the excess rows are discarded silently.

Set method documentation [Android Documentation]

Sets the maximum number of rows that any ResultSet can contain. If the number of rows exceeds this value, the additional rows are silently discarded.

Requirements

Namespace: Java.Sql
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1