Class ObjectSchema.ServerEvent
- Namespace
- LinqToDB.Tools.DataProvider.SqlServer.Schemas
- Assembly
- linq2db.Tools.dll
sys.server_events (Transact-SQL)
Applies to: √ SQL Server √ Azure SQL Managed Instance
Contains one row for each event for which a server-level event-notification or server-level DDL trigger fires. The columns object_id and type uniquely identify the server event.
See sys.server_events.
[Table(Schema = "sys", Name = "server_events", IsView = true)]
public class ObjectSchema.ServerEvent
- Inheritance
-
ObjectSchema.ServerEvent
- Inherited Members
- Extension Methods
Properties
EventGroupType
event_group_type NULL int
Event group on which the trigger or event notification is created, or null if not created on an event group.[Column("event_group_type")]
[Nullable]
public int? EventGroupType { get; set; }
Property Value
- int?
EventGroupTypeDesc
event_group_type_desc NULL nvarchar(60)
Description of the event group on which the trigger or event notification is created, or null if not created on an event group[Column("event_group_type_desc")]
[Nullable]
public string? EventGroupTypeDesc { get; set; }
Property Value
Object
objects (sys.objects)
[Association(ThisKey = "ObjectID", OtherKey = "ObjectID", CanBeNull = false)]
public ObjectSchema.Object Object { get; set; }
Property Value
ObjectID
object_id NOT NULL int
ID of the server-level event notification or server-level DDL trigger to fire.[Column("object_id")]
[NotNull]
public int ObjectID { get; set; }
Property Value
Type
type NOT NULL int
Type of the event that causes the event notification or DDL trigger to fire.[Column("type")]
[NotNull]
public int Type { get; set; }
Property Value
TypeDesc
type_desc NOT NULL nvarchar(60)
Description of the event that causes the DDL trigger or event notification to fire.[Column("type_desc")]
[NotNull]
public string TypeDesc { get; set; }