Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 1.35 KB

File metadata and controls

50 lines (36 loc) · 1.35 KB
title connect Method (SQLServerDriver)
description connect Method (SQLServerDriver)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerDriver.connect
apitype Assembly

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