Retrieves the value of a specified client information property.

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

Syntax

public java.lang.String getClientInfo (java.lang.String name)

Parameters

name

A String that contains the name of the client information property to retrieve.

Return Value

A String that contains the value of the client information property.

Exceptions

SQLServerException

Remarks

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

The Microsoft SQL Server JDBC Driver 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.

See Also

SQLServerConnection Class
getClientInfo Method (SQLServerConnection)
SQLServerConnection Members