EventSessionStatement.EventDeclarations 屬性

Gets a list of event declarations.

命名空間:  Microsoft.SqlServer.TransactSql.ScriptDom
組件:  Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

語法

'宣告
Public ReadOnly Property EventDeclarations As IList(Of EventDeclaration)
    Get
'用途
Dim instance As EventSessionStatement 
Dim value As IList(Of EventDeclaration)

value = instance.EventDeclarations
public IList<EventDeclaration> EventDeclarations { get; }
public:
property IList<EventDeclaration^>^ EventDeclarations {
    IList<EventDeclaration^>^ get ();
}
member EventDeclarations : IList<EventDeclaration>
function get EventDeclarations () : IList<EventDeclaration>

屬性值

型別:System.Collections.Generic.IList<EventDeclaration>
A list of event declarations.

請參閱

參考

EventSessionStatement 類別

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間