--- title: "getClientInfo Method () | Microsoft Docs" ms.custom: "" ms.date: "01/19/2017" ms.prod: sql ms.prod_service: connectivity ms.reviewer: "" ms.technology: connectivity ms.topic: conceptual ms.assetid: b06a5ced-b760-4c78-b17e-854ce95a1a5c author: David-Engel ms.author: v-daenge --- # getClientInfo Method () [!INCLUDE[Driver_JDBC_Download](../../../includes/driver_jdbc_download.md)] Retrieves a list that contains the name and current value of each client information property supported by the JDBC driver. ## Syntax ``` public java.util.Properties getClientInfo() ``` ## Return Value A Properties object that contains the name and current value of each of the client information properties supported by the driver. ## Exceptions [SQLServerException](../../../connect/jdbc/reference/sqlserverexception-class.md) ## Remarks This getClientInfo method is specified by the getClientInfo method in the java.sql.Connection interface. The [!INCLUDE[jdbcNoVersion](../../../includes/jdbcnoversion_md.md)] does not support any client information properties. As a result, this method returns an empty Properties object. Similarly, applications can use the [getClientInfoProperties](../../../connect/jdbc/reference/getclientinfoproperties-method-sqlserverdatabasemetadata.md) method of the [SQLServerDatabaseMetaData](../../../connect/jdbc/reference/sqlserverdatabasemetadata-class.md) class to retrieve a list of the client information properties that the driver supports. The [getClientInfoProperties](../../../connect/jdbc/reference/getclientinfoproperties-method-sqlserverdatabasemetadata.md) method returns an empty result set. ## See Also [getClientInfo Method (SQLServerConnection)](../../../connect/jdbc/reference/getclientinfo-method-sqlserverconnection.md) [SQLServerConnection Members](../../../connect/jdbc/reference/sqlserverconnection-members.md) [SQLServerConnection Class](../../../connect/jdbc/reference/sqlserverconnection-class.md)