setSendStringParametersAsUnicode Method (SQLServerDataSource)

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

public void setSendStringParametersAsUnicode(boolean sendStringParametersAsUnicode)

参数

sendStringParametersAsUnicode

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

备注

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

另请参见

参考

SQLServerDataSource Class

概念

SQLServerDataSource Methods
SQLServerDataSource Members