Share via


SqlMetaData.LocaleId Property

Definition

Gets the locale ID of the column or parameter.

public:
 property long LocaleId { long get(); };
public long LocaleId { get; }
member this.LocaleId : int64
Public ReadOnly Property LocaleId As Long

Property Value

The locale ID of the column or parameter as a Int64.

Remarks

The default value is the current locale of the current thread for string-valued SqlDbTypes, and 0 for SqlDbTypes that do not support collation.

Returns 0 if the collation of the underlying column type is not defined.

Applies to