Event.AddAction 메서드 (String)
Creates an Action object with the specified name and adds it to the ActionCollection.
네임스페이스: Microsoft.SqlServer.Management.XEvent
어셈블리: Microsoft.SqlServer.Management.XEvent(Microsoft.SqlServer.Management.XEvent.dll)
구문
‘선언
Public Function AddAction ( _
actionName As String _
) As Action
‘사용 방법
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
매개 변수
- actionName
유형: System.String
Fully qualified name of the Action object.
반환 값
유형: Microsoft.SqlServer.Management.XEvent.Action
The newly-created Action object.