Table of Contents

Class ExtendedEventsSchema.DatabaseEventSessionField

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

sys.database_event_session_fields (Azure SQL Database and Azure SQL Managed Instance)

Applies to: √ SQL Server 2016 (13.x) and later √ Azure SQL DatabaseAzure SQL Managed Instance

Returns a row for each customizable column that was explicitly set on events and targets in a database-scoped event session.
Azure SQL Database supports only database-scoped sessions. Azure SQL Managed Instance supports both database-scoped sessions and server-scoped sessions. Server-scoped sessions are recommended for managed instances: learn more in CREATE EVENT SESSION.


See sys.database_event_session_fields.

[Table(Schema = "sys", Name = "database_event_session_fields", IsView = true)]
public class ExtendedEventsSchema.DatabaseEventSessionField
Inheritance
ExtendedEventsSchema.DatabaseEventSessionField
Inherited Members
Extension Methods

Properties

EventSessionID

event_session_id NOT NULL int

The ID of the event session. Is not nullable.
[Column("event_session_id")]
[NotNull]
public int EventSessionID { get; set; }

Property Value

int

Name

name NOT NULL sysname

The name of the field. Is not nullable.
[Column("name")]
[NotNull]
public string Name { get; set; }

Property Value

string

Object

objects (sys.objects)

[Association(ThisKey = "ObjectID", OtherKey = "ObjectID", CanBeNull = false)]
public ObjectSchema.Object Object { get; set; }

Property Value

ObjectSchema.Object

ObjectID

object_id NOT NULL int

The ID of the object this field is associated with. Is not nullable.
[Column("object_id")]
[NotNull]
public int ObjectID { get; set; }

Property Value

int

Value

value NOT NULL sql_variant

The value of the field. Is not nullable.
[Column("value")]
[NotNull]
public object Value { get; set; }

Property Value

object