| title | setClientInfo Method (java.lang.String, java.lang.String) | Microsoft Docs | |
|---|---|---|
| ms.custom | ||
| ms.date | 01/19/2017 | |
| ms.prod | sql-non-specified | |
| ms.prod_service | drivers | |
| ms.service | ||
| ms.component | jdbc | |
| ms.reviewer | ||
| ms.suite | sql | |
| ms.technology |
|
|
| ms.tgt_pltfrm | ||
| ms.topic | article | |
| ms.assetid | 8d050831-8305-48a8-bd22-207932111040 | |
| caps.latest.revision | 19 | |
| author | MightyPen | |
| ms.author | genemi | |
| manager | jhubbard | |
| ms.workload | Inactive |
[!INCLUDEDriver_JDBC_Download]
Sets the value of the specified client information property.
public void setClientInfo (java.lang.String name,
java.lang.String value)
name
A String that contains the name of the client information property to set.
value
A String that contains the value to set the client infomation property to.
This setClientInfo method is specified by the setClientInfo method in the java.sql.Connection interface.
The [!INCLUDEjdbcNoVersion] does not support any client information properties. In the 2.0 JDBC Driver, this method generates a warning for a property. Applications should use getWarnings method of the SQLServerConnection class to retrieve a warning.
setClientInfo Method (SQLServerConnection)
SQLServerConnection Members
SQLServerConnection Class