CharacterSet Property

SQL-DMO

SQL-DMO

CharacterSet Property

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

Applies To
Registry Object
Syntax

object.CharacterSet

Part

object

Expression that evaluates to an object in the Applies To list

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 using SysFreeString.

Remarks

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