संपादित करें

इसके माध्यम से साझा किया गया


getClientInfo Method (java.lang.String)

Download JDBC driver

Retrieves the value of a specified client information property.

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 JDBC Driver for SQL Server 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

getClientInfo Method (SQLServerConnection)
SQLServerConnection Members
SQLServerConnection Class