Action 建構函式 (Event, ActionInfo)
Initializes a new instance of the Action class from the parent event and an ActionInfo object.
命名空間: Microsoft.SqlServer.Management.XEvent
組件: Microsoft.SqlServer.Management.XEvent (在 Microsoft.SqlServer.Management.XEvent.dll 中)
語法
'宣告
Public Sub New ( _
parent As Event, _
actionInfo As ActionInfo _
)
'用途
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
)
參數
- parent
型別:Microsoft.SqlServer.Management.XEvent.Event
The parent object of XEvent object.
- actionInfo
型別:Microsoft.SqlServer.Management.XEvent.ActionInfo
The ActionInfo object that defines the Action object.