| title | getPooledConnection Method (java.lang.String, java.lang.String) | 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 | f2e6391d-9aaf-4b09-ae1c-a27c1ada6301 | |
| author | David-Engel | |
| ms.author | v-daenge |
[!INCLUDEDriver_JDBC_Download]
Tries to establish a physical database connection that can be used as a pooled connection based on the given user name and password.
public javax.sql.PooledConnection getPooledConnection(java.lang.String user,
java.lang.String password)
user
A String that contains the user name.
passwword
A String that contains the password.
A SQLServerPooledConnection object.
java.sql.SQLException
This getPooledConnection method is specified by the getPooledConnection method in the javax.sql.ConnectionPoolDataSource interface.
getPooledConnection
SQLServerConnectionPoolDataSource Methods
SQLServerConnectionPoolDataSource Members
SQLServerConnectionPoolDataSource Class