Initializes the CommandNotificationAction class with
user-defined names for the notification action and the recipient
protocol. Namespace:
Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim name As String Dim recipientProtocol As String Dim instance As New CommandNotificationAction(name, recipientProtocol)Public Sub New ( _ name As String, _ recipientProtocol As String _ )public CommandNotificationAction ( string name, string recipientProtocol )public: CommandNotificationAction ( String^ name, String^ recipientProtocol )public CommandNotificationAction ( String name, String recipientProtocol )public function CommandNotificationAction ( name : String, recipientProtocol : String )ParametersnameA user-defined name for this notification action.recipientProtocolThe transport protocol used to deliver notifications to the recipient. For example: sip, sms, or smtp.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim name As String Dim recipientProtocol As String Dim instance As New CommandNotificationAction(name, recipientProtocol)Public Sub New ( _ name As String, _ recipientProtocol As String _ )public CommandNotificationAction ( string name, string recipientProtocol )public: CommandNotificationAction ( String^ name, String^ recipientProtocol )public CommandNotificationAction ( String name, String recipientProtocol )public function CommandNotificationAction ( name : String, recipientProtocol : String )ParametersnameA user-defined name for this notification action.recipientProtocolThe transport protocol used to deliver notifications to the recipient. For example: sip, sms, or smtp.
After initializing a CommandNotificationAction, you can add it to the list of actions for a particular subscription by setting the value of the Actions parameter.