IConnection.Close Method

Definition

Releases this <code>Connection</code> object's database and JDBC resources immediately instead of waiting for them to be automatically released.

[Android.Runtime.Register("close", "()V", "GetCloseHandler:Java.Sql.IConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Close ();
[<Android.Runtime.Register("close", "()V", "GetCloseHandler:Java.Sql.IConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Close : unit -> unit
Attributes

Exceptions

if there is a problem accessing the database.

Remarks

Java documentation for java.sql.Connection.close().

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