Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 1.41 KB

File metadata and controls

45 lines (35 loc) · 1.41 KB
title getConnection Method (SQLServerDatabaseMetaData) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerDatabaseMetaData.getConnection
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 16e46603-a678-4b0f-998e-479abbea151c
author David-Engel
ms.author v-daenge

getConnection Method (SQLServerDatabaseMetaData)

[!INCLUDEDriver_JDBC_Download]

Retrieves the connection that produced this metadata object.

Syntax

  
public java.sql.Connection getConnection()  

Return Value

A SQLServerConnection object.

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members
SQLServerDatabaseMetaData Class