ManagementGroup.InsertNotificationRecipient(NotificationRecipient) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.