OLEDBConnection.LocaleID Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the locale identifier for the specified connection.
public:
property int LocaleID { int get(); void set(int value); };
public int LocaleID { get; set; }
Public Property LocaleID As Integer
Property Value
The locale identifier for the specified connection.
Remarks
Read/write.
Before you set the LocaleID property to a new locale, you must set the RetrieveInOfficeUILang property of the OLEDBConnection object to false. For information about valid Locale ID (LCID) values, search the MSDN website for "Locale IDs Assigned by Microsoft".