Microsoft.SqlServer.TransactSql.ScriptDom by Microsoft

<PackageReference Include="Microsoft.SqlServer.TransactSql.ScriptDom" Version="161.8812.0" />

.NET API 5,150,648 bytes

 EventSessionStatement

Represents the CREATE and ALTER EVENT SESSION statement.

Represents the list of event declarations.

public Identifier Name { get; set; }

Represents the name.

Represents the list of event session options.

public EventSessionScope SessionScope { get; set; }

The scope of the session - database or server

Represents the list of target declarations.