Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1.91 KB

File metadata and controls

45 lines (34 loc) · 1.91 KB
title setSendStringParametersAsUnicode Method (SQLServerDataSource) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerDataSource.setSendStringParametersAsUnicode
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 49198d63-76cb-4843-8d04-e49b1fbb6916
author David-Engel
ms.author v-daenge

setSendStringParametersAsUnicode Method (SQLServerDataSource)

[!INCLUDEDriver_JDBC_Download]

Sets a boolean value that indicates if sending string parameters to the server in UNICODE format is enabled.

Syntax

  
public void setSendStringParametersAsUnicode(boolean sendStringParametersAsUnicode)  

Parameters

sendStringParametersAsUnicode

true if string parameters are sent to the server in UNICODE format. Otherwise, false.

Remarks

If the sendStringParametersAsUnicode property is set to true, which is the default value, string parameters are sent to the server in UNICODE format. If sendStringParametersAsUnicode is set to false string parameters are sent to the server in an ASCII/MBCS format, not in UNICODE. If sendStringParametersAsUnicode is not set, getSendStringParametersAsUnicode returns the default value of true.

For more information about the sendStringParametersAsUnicode connection property, see Setting the Connection Properties.

See Also

SQLServerDataSource Members
SQLServerDataSource Class