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
- parent
Type: Microsoft.SqlServer.Management.XEvent.Event
The parent object of XEvent object.
- actionInfo
Type: Microsoft.SqlServer.Management.XEvent.ActionInfo
The ActionInfo object that defines the Action object.