Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 1.49 KB

File metadata and controls

51 lines (37 loc) · 1.49 KB
title getPropertyInfo Method (SQLServerDriver)
description getPropertyInfo 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.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