The CharacterSet property identifies the code page used by the Microsoft® SQL Server™ installation to interpret multibyte character data.
object.CharacterSet
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
The CharacterSet property is applicable only to multibyte character data. The setting has no effect on Unicode character data.
String
Read-only
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.