Share via


CommandNotificationAction Constructor (String, String)

 

Applies To: Operations Manager for System Center 2012

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)

Syntax

public CommandNotificationAction(
    string name,
    string recipientProtocol
)
public:
CommandNotificationAction(
    String^ name,
    String^ recipientProtocol
)
new : 
        name:string *
        recipientProtocol:string -> CommandNotificationAction
Public Sub New (
    name As String,
    recipientProtocol As String
)

Parameters

  • name
    Type: System.String

    A user-defined name for this notification action.

  • recipientProtocol
    Type: System.String

    The transport protocol used to deliver notifications to the recipient. For example: sip, sms, or smtp.

Remarks

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.

See Also

CommandNotificationAction Class
Microsoft.EnterpriseManagement.Administration Namespace

Return to top