ManagementGroup.GetNotificationSubscription 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.
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