共用方式為


acceptsURL Method (SQLServerDriver)

Checks if the given URL is valid.

public boolean acceptsURL(java.lang.String url)

參數

url

A String value containing the URL used to connect to the database.

傳回值

true if the given URL is valid. Otherwise, false.

例外狀況

SQLServerException

備註

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

另請參閱

參考

SQLServerDriver Class

概念

SQLServerDriver Methods
SQLServerDriver Members