Share via


ManagementGroup.GetNotificationSubscription Method

Definition

Retrieves notification subscriptions.

Overloads

GetNotificationSubscription(String)
Obsolete.

Retrieve notification subscription by name.

GetNotificationSubscription(Guid)
Obsolete.

Retrieve notification subscription by id.

GetNotificationSubscription(String)

Caution

Please use Notifications.GetNotificationSubscription()

Retrieve notification subscription by name.

public:
 Microsoft::EnterpriseManagement::Administration::NotificationSubscription ^ GetNotificationSubscription(System::String ^ name);
[System.Obsolete("Please use Notifications.GetNotificationSubscription()")]
public Microsoft.EnterpriseManagement.Administration.NotificationSubscription GetNotificationSubscription (string name);
member this.GetNotificationSubscription : string -> Microsoft.EnterpriseManagement.Administration.NotificationSubscription
Public Function GetNotificationSubscription (name As String) As NotificationSubscription

Parameters

name
String

The name.

Returns

A notification subscriptions.

Attributes

Exceptions

A subscription with that name not found

Applies to

GetNotificationSubscription(Guid)

Caution

Please use Notifications.GetNotificationSubscription()

Retrieve notification subscription by id.

public:
 Microsoft::EnterpriseManagement::Administration::NotificationSubscription ^ GetNotificationSubscription(Guid id);
[System.Obsolete("Please use Notifications.GetNotificationSubscription()")]
public Microsoft.EnterpriseManagement.Administration.NotificationSubscription GetNotificationSubscription (Guid id);
member this.GetNotificationSubscription : Guid -> Microsoft.EnterpriseManagement.Administration.NotificationSubscription
Public Function GetNotificationSubscription (id As Guid) As NotificationSubscription

Parameters

id
Guid

The id.

Returns

A notification subscriptions.

Attributes

Exceptions

A subscription with that id not found

Applies to