Skip to content

Latest commit

 

History

History
55 lines (41 loc) · 1.49 KB

File metadata and controls

55 lines (41 loc) · 1.49 KB
title connect Method (SQLServerDriver) | 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
SQLServerDriver.connect
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 43813a4c-1cc7-4659-ba27-f1786f1371eb
author David-Engel
ms.author v-daenge

connect Method (SQLServerDriver)

[!INCLUDEDriver_JDBC_Download]

Makes a connection to the database.

Syntax

  
public java.sql.Connection connect(java.lang.String Url,  
                                   java.util.Properties suppliedProperties)  

Parameters

Url

A String value that contains the URL that is used to connect to the database.

suppliedProperties

A set of string value pairs used as connection arguments.

Return Value

A Connection object.

Exceptions

SQLServerException

Remarks

This connect method is specified by the connect method in the java.sql.Driver interface.

See Also

SQLServerDriver Methods
SQLServerDriver Members
SQLServerDriver Class