共用方式為


Event.AddAction 方法

包含保護的成員
包含繼承的成員

Adds an Action object to the XEvent object.

此成員已超載。如需此成員完整的詳細資訊 (包括語法、使用狀況及範例),按一下多載清單中的名稱。

多載 清單

  名稱 說明
公用方法 AddAction(String) Creates an Action object with the specified name and adds it to the ActionCollection.
公用方法 AddAction(ActionInfo) Creates an Action object from an ActionInfo object and adds it to the ActionCollection.

上層

請參閱

參考

Event 類別

Microsoft.SqlServer.Management.XEvent 命名空間