Language.MsgLangID Property
Applies To: SQL Server 2016 Preview
Gets the ID value that uniquely identifies the message language.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.Matrix)]
public short MsgLangID { get; }
public:
[SfcPropertyAttribute(SfcPropertyFlags::None | SfcPropertyFlags::Standalone | SfcPropertyFlags::Matrix)]
property short MsgLangID {
short get();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.Matrix)>]
member MsgLangID : int16 with get
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Matrix)>
Public ReadOnly Property MsgLangID As Short
Property Value
Type: System.Int16
An Int32 value that specifies the message language ID value.
Remarks
The message language ID value is used to identify the language of a SQL Server system message. This value can be found in the sys.syslanguages and sys.sysmessages compatibility view system catalogs.
Examples
Legacy Code Example
See Also
Language Class
Microsoft.SqlServer.Management.Smo Namespace
sys.syslanguages (Transact-SQL)
Return to top