Metodo Event.AddAction (String)
Creates an Action object with the specified name and adds it to the ActionCollection.
Spazio dei nomi Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)
Sintassi
'Dichiarazione
Public Function AddAction ( _
actionName As String _
) As Action
'Utilizzo
Dim instance As Event
Dim actionName As String
Dim returnValue As Action
returnValue = instance.AddAction(actionName)
public Action AddAction(
string actionName
)
public:
Action^ AddAction(
String^ actionName
)
member AddAction :
actionName:string -> Action
public function AddAction(
actionName : String
) : Action
Parametri
- actionName
Tipo: System.String
Fully qualified name of the Action object.
Valore restituito
Tipo: Microsoft.SqlServer.Management.XEvent.Action
The newly-created Action object.