IMonitoringNotificationManagement.GetNotificationRecipient Method

Definition

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

NotificationRecipient

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

NotificationRecipient

A notification recipient.

Exceptions

ObjectNotFoundException

A NotificationRecipient with that name was not found.

Applies to