Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.17 KB

File metadata and controls

36 lines (27 loc) · 1.17 KB
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

getConnection Method (SQLServerStatement)

[!INCLUDEDriver_JDBC_Download]

Retrieves the SQLServerConnection object that produced this SQLServerStatement object.

Syntax

  
public final java.sql.Connection getConnection()  

Exceptions

SQLServerException

Remarks

This getConnection method is specified by the getConnection method in the java.sql.Statement interface.

See Also

SQLServerStatement Members
SQLServerStatement Class