title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | apilocation | apiname | apitype |
---|---|---|---|---|---|---|---|---|---|---|
getConnection Method () |
getConnection Method () |
David-Engel |
davidengel |
01/19/2017 |
sql |
connectivity |
reference |
sqljdbc.jar |
SQLServerDataSource.getConnection () |
Assembly |
[!INCLUDEDriver_JDBC_Download]
Tries to establish a connection with the data source that this SQLServerDataSource object represents.
public java.sql.Connection getConnection()
A SQLServerConnection object.
java.sql.SQLException
This getConnection method is specified by the getConnection method in the javax.sql.DataSource interface.
getConnection Method (SQLServerDataSource)
SQLServerDataSource Members
SQLServerDataSource Class