Export (0) Print
Expand All

SqlParameter.LocaleId Property

Gets or sets the locale identifier that determines conventions and language for a particular region.

Namespace: System.Data.SqlClient
Assembly: System.Data (in system.data.dll)

public int LocaleId { get; set; }
/** @property */
public int get_LocaleId ()

/** @property */
public void set_LocaleId (int value)

public function get LocaleId () : int

public function set LocaleId (value : int)

Not applicable.

Property Value

Returns the locale identifier associated with the parameter.

The locale identifies conventions and language for a particular geographical region. The codepage used to encode a specific string (the character set) is based on the locale used by that string or the environment that produced it. This property sets (for input parameters) or gets (for output parameters) the locale to be attached to a string when exchanging data with the server. This property is typically used together with the CompareInfo property.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft