getConnection Method (SQLServerDataSource)

Download JDBC driver

Tries to establish a connection with the data source that this SQLServerDataSource object represents.

Overload List

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.

See Also

SQLServerDataSource Members
SQLServerDataSource Class