다음을 통해 공유


IDataSource.Connection Property

Definition

Creates a connection to the database represented by this DataSource.

public Java.Sql.IConnection? Connection { [Android.Runtime.Register("getConnection", "()Ljava/sql/Connection;", "GetGetConnectionHandler:Javax.Sql.IDataSourceInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; }
[<get: Android.Runtime.Register("getConnection", "()Ljava/sql/Connection;", "GetGetConnectionHandler:Javax.Sql.IDataSourceInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.Connection : Java.Sql.IConnection

Property Value

Attributes

Exceptions

if there is a problem accessing the database.

Remarks

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