共用方式為


connect Method (SQLServerDriver)

Makes a connection to the database.

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

參數

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.

傳回值

A Connection object.

例外狀況

SQLServerException

備註

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

另請參閱

參考

SQLServerDriver Class

概念

SQLServerDriver Methods
SQLServerDriver Members