IDatabaseMetaData.SupportsResultSetHoldability(Int32) Method

Definition

Retrieves whether this database supports the given result set holdability.

[Android.Runtime.Register("supportsResultSetHoldability", "(I)Z", "GetSupportsResultSetHoldability_IHandler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool SupportsResultSetHoldability (int holdability);
[<Android.Runtime.Register("supportsResultSetHoldability", "(I)Z", "GetSupportsResultSetHoldability_IHandler:Java.Sql.IDatabaseMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SupportsResultSetHoldability : int -> bool

Parameters

holdability
Int32

one of the following constants: ResultSet.HOLD_CURSORS_OVER_COMMIT or ResultSet.CLOSE_CURSORS_AT_COMMIT

Returns

true if so; false otherwise

Attributes

Exceptions

a database error occurred.

Remarks

Retrieves whether this database supports the given result set holdability.

Added in 1.4.

Java documentation for java.sql.DatabaseMetaData.supportsResultSetHoldability(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to