Share via


getPooledConnection Method (java.lang.String, java.lang.String)

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)

Parameters

user

A String that contains the user name.

passwword

A String that contains the password.

Return Value

A SQLServerPooledConnection object.

Exceptions

java.sql.SQLException

Remarks

This getPooledConnection method is specified by the getPooledConnection method in the javax.sql.ConnectionPoolDataSource interface.

See Also

Reference

SQLServerConnectionPoolDataSource Class

Concepts

getPooledConnection
SQLServerConnectionPoolDataSource Methods
SQLServerConnectionPoolDataSource Members