Class ServerWideConfigurationSchema.TraceEvent
- Namespace
- LinqToDB.Tools.DataProvider.SqlServer.Schemas
- Assembly
- linq2db.Tools.dll
sys.trace_events (Transact-SQL)
Applies to: √ SQL Server (all supported versions)
The sys.trace_events catalog view contains a list of all SQL trace events. These trace events do not change for a given version of the SQL Server Database Engine.
> 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.
For more information about these trace events, see SQL Server Event Class Reference.
See sys.trace_events.
[Table(Schema = "sys", Name = "trace_events", IsView = true)]
public class ServerWideConfigurationSchema.TraceEvent
- Inheritance
-
ServerWideConfigurationSchema.TraceEvent
- Extension Methods
Properties
CategoryID
Category ID of the event. This column is also in the sys.trace_categories catalog view.
[Column("category_id")]
[NotNull]
public short CategoryID { get; set; }
Property Value
Name
Unique name of this event. This parameter is not localized.
[Column("name")]
[Nullable]
public string? Name { get; set; }
Property Value
TraceEventID
Unique ID of the event. This column is also in the sys.trace_event_bindings and sys.trace_subclass_values catalog views.
[Column("trace_event_id")]
[NotNull]
public short TraceEventID { get; set; }