Share via


ManagementGroup.InsertNotificationSubscription Method

Definition

Caution

Please use Notifications.InsertNotificationSubscription()

Inserts the notification subscription.

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

Parameters

notificationSubscription
NotificationSubscription

Notification subscription.

Attributes

Exceptions

notificationSubscription is null

notificationSubscription invalid or already inserted.

Applies to