OLEDBSimpleProvider::getLocale

This method returns a string that describes the locale (country of origin), as specified in Internet RFC 1766, of the data set. For example, the locale could be “en-us” which is equivalent to “English (United States)”.

HRESULT getLocale (
BSTR*pbstrLocale);

Parameters

pbstrLocale

[out]
A string specifying the locale (LCID) of the data set.

Return Codes

S_OK
The method succeeded.

E_FAIL
A provider-specific error occurred.

Notes