DBPROP_INIT_LCID Property

The locale ID (LCID) of preference for the client.

Remarks

This property’s name, which is used in the connection string, is Locale Identifier.

The client can modify the LCID by setting the DBPROP_INIT_LCID property. PivotTable® Service can have only one LCID per Microsoft® Windows® process. The LCID must be installed in Control Panel in Windows or the attempt to set the LCID will fail. By default, the DBPROP_INIT_LCID is reported as null.

When multiple connections are opened in the same process, connections subsequent to the first connection must specify the LCID to be the same as that established by the first connection.

It is an error for a subsequent connection to set the LCID to a value that would be different from that established by the first connection. This includes the scenario in which a first client sets a non-default value, and a second client does not set any value, expecting to use the default. It is the client application’s responsibility to manage these settings in a multiple-session per process scenario.

This property’s value is used when a session is established, but the value cannot be changed during the session.

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.