IStatement.Connection Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
the connection that produced this statement
- Attributes
Exceptions
if an error occurs accessing the database.
Remarks
Retrieves the Connection object that produced this Statement object.
Java reference for java.sql.Statement.getConnection.
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.