acceptsURL Method (SQLServerDriver)

Download JDBC driver

Checks if the given URL is valid.

Syntax

  
public boolean acceptsURL(java.lang.String url)  

Parameters

url

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

Return Value

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

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerDriver Methods
SQLServerDriver Members
SQLServerDriver Class