共用方式為


EventSessionStatement.TargetDeclarations 屬性

Gets a list of target declarations.

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

語法

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

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

屬性值

型別:System.Collections.Generic.IList<TargetDeclaration>
The list of target declarations.

請參閱

參考

EventSessionStatement 類別

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間