| title | connect Method (SQLServerDriver) |
|---|---|
| description | connect Method (SQLServerDriver) |
| author | David-Engel |
| ms.author | davidengel |
| ms.date | 01/19/2017 |
| ms.service | sql |
| ms.subservice | connectivity |
| ms.topic | reference |
| apilocation | sqljdbc.jar |
| apiname | SQLServerDriver.connect |
| apitype | Assembly |
[!INCLUDEDriver_JDBC_Download]
Makes a connection to the database.
public java.sql.Connection connect(java.lang.String Url,
java.util.Properties suppliedProperties)
Url
A String value that contains the URL that is used to connect to the database.
suppliedProperties
A set of string value pairs used as connection arguments.
A Connection object.
This connect method is specified by the connect method in the java.sql.Driver interface.
SQLServerDriver Methods
SQLServerDriver Members
SQLServerDriver Class