Condividi tramite


getClientInfo Method ()

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

Nota

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

public java.util.Properties getClientInfo()

Valore restituito

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

Eccezioni

SQLServerException

Osservazioni

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

The Microsoft SQL Server JDBC Driver version 2.0 does not support any client information properties.As a result, in the JDBC Driver version 2.0 release, 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. In the JDBC Driver version 2.0 release, the getClientInfoProperties method returns an empty result set.

Vedere anche

Riferimento

SQLServerConnection Class

Concetti

getClientInfo Method (SQLServerConnection)
SQLServerConnection Methods
SQLServerConnection Members