Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.91 KB

getclientinfo-method.md

File metadata and controls

41 lines (29 loc) · 1.91 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic
getClientInfo Method ()
getClientInfo Method ()
David-Engel
davidengel
01/19/2017
sql
connectivity
reference

getClientInfo Method ()

[!INCLUDEDriver_JDBC_Download]

Retrieves a list that contains the name and current value of each client information property supported by the JDBC driver.

Syntax

  
public java.util.Properties getClientInfo()  

Return Value

A Properties object that contains the name and current value of each of the client information properties supported by the driver.

Exceptions

SQLServerException

Remarks

This getClientInfo method is specified by the getClientInfo method in the java.sql.Connection interface.

The [!INCLUDEjdbcNoVersion] does not support any client information properties. As a result, this method returns an empty Properties object.

Similarly, applications can use the getClientInfoProperties method of the SQLServerDatabaseMetaData class to retrieve a list of the client information properties that the driver supports. The getClientInfoProperties method returns an empty result set.

See Also

getClientInfo Method (SQLServerConnection)
SQLServerConnection Members
SQLServerConnection Class