Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.21 KB

File metadata and controls

37 lines (28 loc) · 1.21 KB
title getConnection Method (SQLServerStatement)
description getConnection Method (SQLServerStatement)
author dlevy-msft-sql
ms.author dlevy
ms.reviewer davidengel, machavan, sunilbs
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