Метод Action.SetActionInfo
Sets the ActionInfo object for a pending Action object.
Пространство имен: Microsoft.SqlServer.Management.XEvent
Сборка: Microsoft.SqlServer.Management.XEvent (в Microsoft.SqlServer.Management.XEvent.dll)
Синтаксис
'Декларация
Public Sub SetActionInfo ( _
actionInfo As ActionInfo _
)
'Применение
Dim instance As Action
Dim actionInfo As ActionInfo
instance.SetActionInfo(actionInfo)
public void SetActionInfo(
ActionInfo actionInfo
)
public:
void SetActionInfo(
ActionInfo^ actionInfo
)
member SetActionInfo :
actionInfo:ActionInfo -> unit
public function SetActionInfo(
actionInfo : ActionInfo
)
Параметры
- actionInfo
Тип: Microsoft.SqlServer.Management.XEvent.ActionInfo
An ActionInfoobject.
Исключения
Исключение | Условие |
---|---|
ArgumentNullException | The input ActionInfo object is null. |
XEventException | The Action object is not in a pending state. |