共用方式為


IPooledConnection.Close Method

Definition

Closes the physical connection that this PooledConnection object represents.

[Android.Runtime.Register("close", "()V", "GetCloseHandler:Javax.Sql.IPooledConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Close ();
[<Android.Runtime.Register("close", "()V", "GetCloseHandler:Javax.Sql.IPooledConnectionInvoker, 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

Closes the physical connection that this PooledConnection object represents. An application never calls this method directly; it is called by the connection pool module, or manager.

See the PooledConnection interface description for more information.

Added in 1.4.

Java documentation for javax.sql.PooledConnection.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