Action Constructor (Event, ActionInfo)
Initializes a new instance of the Action class from the parent event and an ActionInfo object.
Espacio de nombres: Microsoft.SqlServer.Management.XEvent
Ensamblado: Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Sintaxis
'Declaración
Public Sub New ( _
parent As Event, _
actionInfo As ActionInfo _
)
'Uso
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
)
Parámetros
- parent
Tipo: Microsoft.SqlServer.Management.XEvent.Event
The parent object of XEvent object.
- actionInfo
Tipo: Microsoft.SqlServer.Management.XEvent.ActionInfo
The ActionInfo object that defines the Action object.