Edit

Share via


OLEDBConnection.LocaleID Property

Definition

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".

Applies to