Java.Sql.IDriver.Connect Method
Attempts to make a database connection to a data source specified by a supplied URL.

Syntax

[Android.Runtime.Register("connect", "(Ljava/lang/String;Ljava/util/Properties;)Ljava/sql/Connection;", "GetConnect_Ljava_lang_String_Ljava_util_Properties_Handler:Java.Sql.IDriverInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public IConnection Connect (string url, Java.Util.Properties info)

Parameters

url
the URL to connect.
info
some properties that should be used in establishing the connection. The properties consist of name/value pairs of strings. Normally, a connection to a database requires at least two properties - for "user" and "password" in order to pass authentication to the database.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Sql.SQLExceptionif a database error occurs.

Remarks

Attempts to make a database connection to a data source specified by a supplied URL.

[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