Język

IStatement.IsClosed Property

Definition

Returns true if this statement has been closed, false otherwise.

public bool IsClosed { [Android.Runtime.Register("isClosed", "()Z", "GetIsClosedHandler:Java.Sql.IStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; }
[<get: Android.Runtime.Register("isClosed", "()Z", "GetIsClosedHandler:Java.Sql.IStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.IsClosed : bool

Property Value

true if this Statement object is closed; false if it is still open

Attributes

Exceptions

A database access error occurs.

Remarks

Retrieves whether this Statement object has been closed. A Statement is closed if the method close has been called on it, or if it is automatically closed.

Java reference for java.sql.Statement.isClosed.

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