Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 1.45 KB

File metadata and controls

50 lines (36 loc) · 1.45 KB
title getPropertyInfo Method (SQLServerDriver)
description getPropertyInfo Method (SQLServerDriver)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerDriver.getPropertyInfo
apitype Assembly

getPropertyInfo Method (SQLServerDriver)

[!INCLUDEDriver_JDBC_Download]

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

Syntax

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

Parameters

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.

Return Value

An array of DriverPropertyInfo objects.

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerDriver Methods
SQLServerDriver Members
SQLServerDriver Class