ManagementGroup.GetNotificationRecipient 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 the notification recipient objects.
Overloads
GetNotificationRecipient(Guid) |
Obsolete.
Retrieve notification recipient by id. |
GetNotificationRecipient(String) |
Obsolete.
Retrieve notification recipient by name. |
GetNotificationRecipient(Guid)
Caution
Please use Notifications.GetNotificationRecipient()
Retrieve notification recipient by id.
public:
Microsoft::EnterpriseManagement::Administration::NotificationRecipient ^ GetNotificationRecipient(Guid id);
[System.Obsolete("Please use Notifications.GetNotificationRecipient()")]
public Microsoft.EnterpriseManagement.Administration.NotificationRecipient GetNotificationRecipient (Guid id);
member this.GetNotificationRecipient : Guid -> Microsoft.EnterpriseManagement.Administration.NotificationRecipient
Public Function GetNotificationRecipient (id As Guid) As NotificationRecipient
Parameters
- id
- Guid
The id.
Returns
A notification recipient.
- Attributes
Exceptions
A NotificationRecipient with that id was not found.
Applies to
GetNotificationRecipient(String)
Caution
Please use Notifications.GetNotificationRecipient()
Retrieve notification recipient by name.
public:
Microsoft::EnterpriseManagement::Administration::NotificationRecipient ^ GetNotificationRecipient(System::String ^ name);
[System.Obsolete("Please use Notifications.GetNotificationRecipient()")]
public Microsoft.EnterpriseManagement.Administration.NotificationRecipient GetNotificationRecipient (string name);
member this.GetNotificationRecipient : string -> Microsoft.EnterpriseManagement.Administration.NotificationRecipient
Public Function GetNotificationRecipient (name As String) As NotificationRecipient
Parameters
- name
- String
The name.
Returns
A notification recipient.
- Attributes
Exceptions
A NotificationRecipient with that name was not found.