| title | getConnection Method (SQLServerDataSource) | Microsoft Docs | |
|---|---|---|
| ms.custom | ||
| ms.date | 01/19/2017 | |
| ms.prod | sql | |
| ms.prod_service | connectivity | |
| ms.reviewer | ||
| ms.technology | connectivity | |
| ms.topic | conceptual | |
| apiname |
|
|
| apilocation |
|
|
| apitype | Assembly | |
| ms.assetid | a15ee185-f433-4915-9c75-5ebd90c758fd | |
| author | David-Engel | |
| ms.author | v-daenge |
[!INCLUDEDriver_JDBC_Download]
Tries to establish a connection with the data source that this SQLServerDataSource object represents.
| Name | Description |
|---|---|
| getConnection () | Tries to establish a connection with the data source that this SQLServerDataSource object represents. |
| getConnection (java.lang.String, java.lang.String) | Tries to establish a connection with the data source that this SQLServerDataSource object represents by using the given user name and password. |