Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.26 KB

File metadata and controls

46 lines (34 loc) · 1.26 KB
title acceptsURL Method (SQLServerDriver)
description acceptsURL Method (SQLServerDriver)
author dlevy-msft-sql
ms.author dlevy
ms.reviewer davidengel, machavan, sunilbs
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerDriver.acceptsURL
apitype Assembly

acceptsURL Method (SQLServerDriver)

[!INCLUDEDriver_JDBC_Download]

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