Share via


Language.MsgLangID Property

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

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property MsgLangID As Short 
    Get
'Usage
Dim instance As Language 
Dim value As Short 

value = instance.MsgLangID
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public short MsgLangID { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property short MsgLangID {
    short get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member MsgLangID : int16
function get MsgLangID () : 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

Setting Properties

See Also

Reference

Language Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

sys.syslanguages (Transact-SQL)