Dela via


Action Constructor (Event, ActionInfo)

Initializes a new instance of the Action class from the parent event and an ActionInfo object.

Namespace:  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Syntax

'Declaration
Public Sub New ( _
    parent As Event, _
    actionInfo As ActionInfo _
)
'Usage
Dim parent As Event 
Dim actionInfo As ActionInfo 

Dim instance As New Action(parent, _
    actionInfo)
public Action(
    Event parent,
    ActionInfo actionInfo
)
public:
Action(
    Event^ parent, 
    ActionInfo^ actionInfo
)
new : 
        parent:Event * 
        actionInfo:ActionInfo -> Action
public function Action(
    parent : Event, 
    actionInfo : ActionInfo
)

Parameters

See Also

Reference

Action Class

Action Overload

Microsoft.SqlServer.Management.XEvent Namespace