Java.Sql.DriverManager.RegisterDriver Method
Registers a given JDBC driver with the DriverManager.

Syntax

[Android.Runtime.Register("registerDriver", "(Ljava/sql/Driver;)V", "")]
public static void RegisterDriver (IDriver driver)

Parameters

driver
the Driver to register with the DriverManager.

Exceptions

TypeReason
Java.Sql.SQLExceptionif a database access error occurs.

Remarks

Registers a given JDBC driver with the DriverManager.

A newly loaded JDBC driver class should register itself with the DriverManager by calling this method.

[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