Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates an Action object with the specified name and adds it to the ActionCollection.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)
Syntax
'Declaration
Public Function AddAction ( _
actionName As String _
) As Action
'Usage
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
Parameters
- actionName
Type: System.String
Fully qualified name of the Action object.
Return Value
Type: Microsoft.SqlServer.Management.XEvent.Action
The newly-created Action object.