Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.35 KB

File metadata and controls

50 lines (38 loc) · 1.35 KB
title acceptsURL Method (SQLServerDriver) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerDriver.acceptsURL
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid fc744566-7191-4b15-9f76-b4b8087fb14a
author David-Engel
ms.author v-daenge

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