Compartilhar via


NotificationRecipientDevice Constructor (String, String)

 

Applies To: Operations Manager for System Center 2012

Initializes the NotificationRecipientDevice class with the name of the protocol used to send notifications to this device, and the address of the device.

Namespace:   Microsoft.EnterpriseManagement.Administration
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

public NotificationRecipientDevice(
    string protocol,
    string address
)
public:
NotificationRecipientDevice(
    String^ protocol,
    String^ address
)
new : 
        protocol:string *
        address:string -> NotificationRecipientDevice
Public Sub New (
    protocol As String,
    address As String
)

Parameters

  • protocol
    Type: System.String

    The name of the protocol used to send notifications to this device. For example, smtp, sip, or sms.

  • address
    Type: System.String

    The address to which notifications are sent for this device. For example, user@mycompany.com.

Remarks

After initializing a NotificationRecipientDevice, you can add it to a specific recipient's Devices list.

See Also

NotificationRecipientDevice Class
Microsoft.EnterpriseManagement.Administration Namespace

Return to top