Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.49 KB

File metadata and controls

30 lines (24 loc) · 1.49 KB
title getConnection Method (SQLServerDataSource)
description getConnection Method (SQLServerDataSource)
author David-Engel
ms.author davidengel
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