| title | getConnection Method (SQLServerStatement) |
|---|---|
| description | getConnection Method (SQLServerStatement) |
| author | David-Engel |
| ms.author | davidengel |
| ms.date | 01/19/2017 |
| ms.service | sql |
| ms.subservice | connectivity |
| ms.topic | reference |
| apilocation | sqljdbc.jar |
| apiname | SQLServerStatement.getConnection |
| apitype | Assembly |
[!INCLUDEDriver_JDBC_Download]
Retrieves the SQLServerConnection object that produced this SQLServerStatement object.
public final java.sql.Connection getConnection()
This getConnection method is specified by the getConnection method in the java.sql.Statement interface.