Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.88 KB

File metadata and controls

44 lines (32 loc) · 1.88 KB
title setClientInfo Method (java.util.Properties) | 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 b2a8ec0b-40a2-44d1-90d9-a810d4132e56
author David-Engel
ms.author v-daenge

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