Table of Contents

Class ServerWideConfigurationSchema.TraceCategory

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

sys.trace_categories (Transact-SQL)

Applies to: √ SQL Server (all supported versions)

Similar event classes are grouped by a category. Each row in the sys.trace_categories catalog view identifies a category that is unique across the server. These categories do not change for a given version of the SQL Server Database Engine.
For a complete list of supported trace events, see SQL Server Event Class Reference.
> IMPORTANT! 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. Use Extended Event catalog views instead.


See sys.trace_categories.

[Table(Schema = "sys", Name = "trace_categories", IsView = true)]
public class ServerWideConfigurationSchema.TraceCategory
Inheritance
ServerWideConfigurationSchema.TraceCategory
Extension Methods

Properties

CategoryID

Unique ID of this category. This column is also in the sys.trace_events catalog view.

[Column("category_id")]
[NotNull]
public short CategoryID { get; set; }

Property Value

short

Name

Unique name of this category. This parameter is not localized.

[Column("name")]
[Nullable]
public string? Name { get; set; }

Property Value

string

TypeColumn

Category type:

0 = Normal

1 = Connection

2 = Error

[Column("type")]
[NotNull]
public byte TypeColumn { get; set; }

Property Value

byte