Condividi tramite


setClientInfo Method (java.lang.String, java.lang.String)

Sets the value of the specified client information property.

Nota

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

public void setClientInfo (java.lang.String name,
                           java.lang.String value)

Parametri

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.

Eccezioni

SQLServerException

Osservazioni

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

The Microsoft SQL Server JDBC Driver version 2.0 does not support any client information properties. In the JDBC Driver version 2.0 release, this method generates a warning for a property. Applications should use getWarnings method of the SQLServerConnection class to retrieve a warning.

Vedere anche

Riferimento

SQLServerConnection Class

Concetti

setClientInfo Method (SQLServerConnection)
SQLServerConnection Methods
SQLServerConnection Members