EventSessionStatement EventSessionStatement EventSessionStatement Class


Represents the CREATE and ALTER EVENT SESSION statement.

public ref class EventSessionStatement : Microsoft::SqlServer::TransactSql::ScriptDom::TSqlStatement
public class EventSessionStatement : Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Public Class EventSessionStatement
Inherits TSqlStatement


EventSessionStatement() EventSessionStatement() EventSessionStatement()

Initializes a new instance of the EventSessionStatement class.


EventDeclarations EventDeclarations EventDeclarations

Gets a list of event declarations.

FirstTokenIndex FirstTokenIndex FirstTokenIndex

Gets or sets the first token index.

(Inherited from TSqlFragment)
FragmentLength FragmentLength FragmentLength

Gets the fragment length.

(Inherited from TSqlFragment)
LastTokenIndex LastTokenIndex LastTokenIndex

Gets or sets the last token index.

(Inherited from TSqlFragment)
Name Name Name

Gets or sets the session name.

ScriptTokenStream ScriptTokenStream ScriptTokenStream

Gets or sets a list of token streams.

(Inherited from TSqlFragment)
SessionOptions SessionOptions SessionOptions

Gets a list of event session options.

SessionScope SessionScope SessionScope
StartColumn StartColumn StartColumn

Gets the starting column.

(Inherited from TSqlFragment)
StartLine StartLine StartLine

Gets the starting line.

(Inherited from TSqlFragment)
StartOffset StartOffset StartOffset

Gets the fragment start offset value.

(Inherited from TSqlFragment)
TargetDeclarations TargetDeclarations TargetDeclarations

Gets a list of target declarations.


Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor)

Indicates the entry point for a given visitor.

AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor)

Calls Accept on the children with the given visitor.


Uninitialized Uninitialized Uninitialized

Value is -1.

(Inherited from TSqlFragment)

Applies to