Event.AddAction 메서드 (ActionInfo)
Creates an Action object from an ActionInfo object and adds it to the ActionCollection.
네임스페이스: Microsoft.SqlServer.Management.XEvent
어셈블리: Microsoft.SqlServer.Management.XEvent(Microsoft.SqlServer.Management.XEvent.dll)
구문
‘선언
Public Function AddAction ( _
actionInfo As ActionInfo _
) As Action
‘사용 방법
Dim instance As Event
Dim actionInfo As ActionInfo
Dim returnValue As Action
returnValue = instance.AddAction(actionInfo)
public Action AddAction(
ActionInfo actionInfo
)
public:
Action^ AddAction(
ActionInfo^ actionInfo
)
member AddAction :
actionInfo:ActionInfo -> Action
public function AddAction(
actionInfo : ActionInfo
) : Action
매개 변수
- actionInfo
유형: Microsoft.SqlServer.Management.XEvent.ActionInfo
The ActionInfo object that specifies the Action object to add.
반환 값
유형: Microsoft.SqlServer.Management.XEvent.Action
The newly-created Action object.