IMonitoringNotificationManagement.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.
Overloads
| GetNotificationRecipient(Guid) |
Retrieve notification recipient by id. |
| GetNotificationRecipient(String) |
Retrieve notification recipient by name. |
GetNotificationRecipient(Guid)
Retrieve notification recipient by id.
public:
Microsoft::EnterpriseManagement::Administration::NotificationRecipient ^ GetNotificationRecipient(Guid id);
public Microsoft.EnterpriseManagement.Administration.NotificationRecipient GetNotificationRecipient (Guid id);
abstract member GetNotificationRecipient : Guid -> Microsoft.EnterpriseManagement.Administration.NotificationRecipient
Public Function GetNotificationRecipient (id As Guid) As NotificationRecipient
Parameters
- id
- Guid
The id.
Returns
A notification recipient.
Exceptions
ObjectNotFoundException
A NotificationRecipient with that id was not found.
Applies to
GetNotificationRecipient(String)
Retrieve notification recipient by name.
public:
Microsoft::EnterpriseManagement::Administration::NotificationRecipient ^ GetNotificationRecipient(System::String ^ name);
public Microsoft.EnterpriseManagement.Administration.NotificationRecipient GetNotificationRecipient (string name);
abstract member GetNotificationRecipient : string -> Microsoft.EnterpriseManagement.Administration.NotificationRecipient
Public Function GetNotificationRecipient (name As String) As NotificationRecipient
Parameters
- name
- String
The name.
Returns
A notification recipient.
Exceptions
ObjectNotFoundException
A NotificationRecipient with that name was not found.