共用方式為


getPropertyInfo Method (SQLServerDriver)

Used to discover the properties needed to connect to a database.

public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String Url,
                                                     java.util.Properties Info)

參數

Url

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

Info

A list of property value pairs, null on first use.

傳回值

An array of DriverPropertyInfo objects.

例外狀況

SQLServerException

備註

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

另請參閱

參考

SQLServerDriver Class

概念

SQLServerDriver Methods
SQLServerDriver Members