| title | getClientInfo Method (java.lang.String) |
|---|---|
| description | getClientInfo Method (java.lang.String) |
| author | David-Engel |
| ms.author | davidengel |
| ms.date | 01/19/2017 |
| ms.service | sql |
| ms.subservice | connectivity |
| ms.topic | reference |
[!INCLUDEDriver_JDBC_Download]
Retrieves the value of a specified client information property.
public java.lang.String getClientInfo (java.lang.String name)
name
A String that contains the name of the client information property to retrieve.
A String that contains the value of the client information property.
This getClientInfo method is specified by the getClientInfo method in the java.sql.Connection interface.
The [!INCLUDEjdbcNoVersion] does not support any client info properties. As a result, this method returns null.
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.
getClientInfo Method (SQLServerConnection)
SQLServerConnection Members
SQLServerConnection Class