Table of Contents

Class CompatibilitySchema.Message

Namespace
LinqToDB.Tools.DataProvider.SqlServer.Schemas
Assembly
linq2db.Tools.dll

sys.sysmessages (Transact-SQL)

Applies to: √ SQL Server (all supported versions)

Contains one row for each system error or warning that can be returned by the SQL Server Database Engine. The Database Engine displays the error description on the user's screen.

important


This SQL Server 2000 system table is included as a view for backward compatibility. We recommend that you use the current SQL Server system views instead. To find the equivalent system view or views, see Mapping System Tables to System Views (Transact-SQL). This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.


See sys.sysmessages.

[Table(Schema = "sys", Name = "sysmessages", IsView = true)]
public class CompatibilitySchema.Message
Inheritance
CompatibilitySchema.Message
Extension Methods

Properties

Description

Explanation of the error with placeholders for parameters.

[Column("description")]
[Nullable]
public string? Description { get; set; }

Property Value

string

Dlevel

Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.

[Column("dlevel")]
[Nullable]
public short? Dlevel { get; set; }

Property Value

short?

Error

Unique error number.

[Column("error")]
[NotNull]
public int Error { get; set; }

Property Value

int

MsgLangID

System message group ID.

[Column("msglangid")]
[NotNull]
public short MsgLangID { get; set; }

Property Value

short

Severity

Severity level of the error.

[Column("severity")]
[Nullable]
public byte? Severity { get; set; }

Property Value

byte?