Share via


setClientInfo Method (java.util.Properties)

Sets the value of the connection's client information properties.

Note

This feature is introduced starting with the Microsoft SQL Server JDBC Driver version 2.0.

Syntax

public void setClientInfo (java.util.Properties properties)

Parameters

properties

A Properties object that contains the list of client information properties to set.

Exceptions

SQLServerException

Remarks

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

The Microsoft SQL Server JDBC Driver does not support any client information properties. This method generates warnings if the properties input parameter does not refer to an empty property set. In other words, this method generates warnings for the properties that the application wants to set. Applications should use getWarnings method of the SQLServerConnection class to retrieve each warning.

See Also

Reference

SQLServerConnection Class

Concepts

setClientInfo Method (SQLServerConnection)

SQLServerConnection Members