DriverManager.RegisterDriver(IDriver) Method
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.
Registers the given driver with the DriverManager
.
[Android.Runtime.Register("registerDriver", "(Ljava/sql/Driver;)V", "")]
public static void RegisterDriver (Java.Sql.IDriver? driver);
[<Android.Runtime.Register("registerDriver", "(Ljava/sql/Driver;)V", "")>]
static member RegisterDriver : Java.Sql.IDriver -> unit
Parameters
- driver
- IDriver
the new JDBC Driver that is to be registered with the
DriverManager
- Attributes
Exceptions
if a database access error occurs.
Remarks
Registers the given driver with the DriverManager
. A newly-loaded driver class should call the method registerDriver
to make itself known to the DriverManager
.
Java documentation for java.sql.DriverManager.registerDriver(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.