Share via


IStatement.Connection Property

Definition

Gets the Connection object which created this statement.

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

Property Value

Attributes

Exceptions

if an error occurs 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