Método Action.SetActionInfo
Sets the ActionInfo object for a pending Action object.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (em Microsoft.SqlServer.Management.XEvent.dll)
Sintaxe
'Declaração
Public Sub SetActionInfo ( _
actionInfo As ActionInfo _
)
'Uso
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
)
Parâmetros
- actionInfo
Tipo: Microsoft.SqlServer.Management.XEvent.ActionInfo
An ActionInfoobject.
Exceções
Exceção | Condição |
---|---|
ArgumentNullException | The input ActionInfo object is null. |
XEventException | The Action object is not in a pending state. |