Share via


ManagementGroup.InsertNotificationRecipient(NotificationRecipient) Method

Definition

Caution

Please use Notifications.InsertNotificationRecipient()

Inserts the notification recipient.

public:
 void InsertNotificationRecipient(Microsoft::EnterpriseManagement::Administration::NotificationRecipient ^ notificationRecipient);
[System.Obsolete("Please use Notifications.InsertNotificationRecipient()")]
public void InsertNotificationRecipient (Microsoft.EnterpriseManagement.Administration.NotificationRecipient notificationRecipient);
member this.InsertNotificationRecipient : Microsoft.EnterpriseManagement.Administration.NotificationRecipient -> unit
Public Sub InsertNotificationRecipient (notificationRecipient As NotificationRecipient)

Parameters

notificationRecipient
NotificationRecipient

Notification recipient.

Attributes

Exceptions

notificationRecipient or its schedule is null

notificationRecipient devices is empty

Recipient is already inserted.

Applies to