共用方式為


Event.Actions 屬性

Gets the actions for the XEvent object constructed by the user.

命名空間:  Microsoft.SqlServer.Management.XEvent
組件:  Microsoft.SqlServer.Management.XEvent (在 Microsoft.SqlServer.Management.XEvent.dll 中)

語法

'宣告
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Action))> _
Public ReadOnly Property Actions As ActionCollection 
    Get
'用途
Dim instance As Event 
Dim value As ActionCollection 

value = instance.Actions
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(Action))]
public ActionCollection Actions { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(Action))]
public:
property ActionCollection^ Actions {
    ActionCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(Action))>]
member Actions : ActionCollection
function get Actions () : ActionCollection

屬性值

型別:Microsoft.SqlServer.Management.XEvent.ActionCollection
The EventInfo object for the Event object.

請參閱

參考

Event 類別

Microsoft.SqlServer.Management.XEvent 命名空間