Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.78 KB

File metadata and controls

41 lines (29 loc) · 1.78 KB
title setClientInfo Method (java.util.Properties)
description setClientInfo Method (java.util.Properties)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference

setClientInfo Method (java.util.Properties)

[!INCLUDEDriver_JDBC_Download]

Sets the value of the connection's client information properties.

Syntax

  
public void setClientInfo (java.util.Properties properties)  

Parameters

properties

A Properties object that contains the list of client information properties to set.

Exceptions

SQLServerException

Remarks

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

The [!INCLUDEjdbcNoVersion] does not support any client information properties. This method generates warnings if the properties input parameter does not refer to an empty property set. In other words, this method generates warnings for the properties that the application wants to set. Applications should use getWarnings method of the SQLServerConnection class to retrieve each warning.

See Also

setClientInfo Method (SQLServerConnection)
SQLServerConnection Members
SQLServerConnection Class