Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 1.53 KB

File metadata and controls

31 lines (25 loc) · 1.53 KB
title getConnection Method (SQLServerDataSource)
description getConnection Method (SQLServerDataSource)
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 SQLServerDataSource.getConnection
apitype Assembly

getConnection Method (SQLServerDataSource)

[!INCLUDEDriver_JDBC_Download]

Tries to establish a connection with the data source that this SQLServerDataSource object represents.

Overload List

Name Description
getConnection () Tries to establish a connection with the data source that this SQLServerDataSource object represents.
getConnection (java.lang.String, java.lang.String) Tries to establish a connection with the data source that this SQLServerDataSource object represents by using the given user name and password.

See Also

SQLServerDataSource Members
SQLServerDataSource Class