Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 1.6 KB

File metadata and controls

35 lines (29 loc) · 1.6 KB
title getConnection Method (SQLServerDataSource) | 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
SQLServerDataSource.getConnection
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid a15ee185-f433-4915-9c75-5ebd90c758fd
author David-Engel
ms.author v-daenge

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