CharacterSet Property (SQL-DMO)

The CharacterSet property identifies the code page used by the Microsoft® SQL Server™ installation to interpret multibyte character data.

Applies To

Registry Object

Syntax

object.CharacterSet

Part Description
object Expression that evaluates to an object in the Applies To list

Remarks

The CharacterSet property is applicable only to multibyte character data. The setting has no effect on Unicode character data.

Data Type

String

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetCharacterSet(SQLDMO_LPBSTR pRetVal);


Note SQL-DMO strings are always returned as OLE BSTR objects. A C/C++ application obtains a reference to the string. The application must release the reference by using SysFreeString.


  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.