Share via


DriverManager.DeregisterDriver(IDriver) Method

Definition

Drops a driver from the DriverManager's list.

[Android.Runtime.Register("deregisterDriver", "(Ljava/sql/Driver;)V", "")]
public static void DeregisterDriver (Java.Sql.IDriver? driver);
[<Android.Runtime.Register("deregisterDriver", "(Ljava/sql/Driver;)V", "")>]
static member DeregisterDriver : Java.Sql.IDriver -> unit

Parameters

driver
IDriver

the JDBC Driver to drop

Attributes

Exceptions

if there is a problem interfering with accessing the database.

Remarks

Drops a driver from the DriverManager's list. Applets can only deregister drivers from their own classloaders.

Java documentation for java.sql.DriverManager.deregisterDriver(java.sql.Driver).

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