Język

IStatement.ResultSetHoldability Property

Definition

Gets the cursor hold setting for ResultSet objects generated by this statement.

public int ResultSetHoldability { [Android.Runtime.Register("getResultSetHoldability", "()I", "GetGetResultSetHoldabilityHandler:Java.Sql.IStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; }
[<get: Android.Runtime.Register("getResultSetHoldability", "()I", "GetGetResultSetHoldabilityHandler:Java.Sql.IStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.ResultSetHoldability : int

Property Value

either ResultSet.HOLD_CURSORS_OVER_COMMIT or ResultSet.CLOSE_CURSORS_AT_COMMIT

Attributes

Exceptions

if there is an error while accessing the database.

Remarks

Retrieves the result set holdability for ResultSet objects generated by this Statement object.

Java reference for java.sql.Statement.getResultSetHoldability.

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