Share via


connect Method (SQLServerDriver)

Makes a connection to the database.

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

Parameter

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.

Rückgabewert

A Connection object.

Ausnahmen

SQLServerException

Hinweise

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

Siehe auch

Verweis

SQLServerDriver Class

Konzepte

SQLServerDriver Methods
SQLServerDriver Members