Class ObjectSchema.ServerEvent
- Namespace
- LinqToDB.Tools.DataProvider.SqlServer.Schemas
- Assembly
- linq2db.Tools.dll
sys.server_events (Transact-SQL)
Applies to: √ SQL Server (all supported versions)
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
- Extension Methods
Properties
EventGroupType
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
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
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
TypeColumn
Type of the event that causes the event notification or DDL trigger to fire.
[Column("type")]
[NotNull]
public int TypeColumn { get; set; }
Property Value
TypeDesc
Description of the event that causes the DDL trigger or event notification to fire.
[Column("type_desc")]
[NotNull]
public string TypeDesc { get; set; }