Метод 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.