Java.Sql.IStatement.Close Method
Releases this statement's database and JDBC driver resources.

Syntax

[Android.Runtime.Register("close", "()V", "GetCloseHandler:Java.Sql.IStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Close ()

Exceptions

TypeReason
Java.Sql.SQLExceptionif an error occurs accessing the database.

Remarks

Releases this statement's database and JDBC driver resources.

Using this method to release these resources as soon as possible is strongly recommended.

One should not rely on the resources being automatically released when finalized during garbage collection. Doing so can result in unpredictable behavior for the application.

[Android Documentation]

Requirements

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