IMonitoringNotificationManagement.GetNotificationAction Method

Definition

Overloads

GetNotificationAction(Guid)

Retrieve notification action by id.

GetNotificationAction(String)

Retrieve notification action by name.

GetNotificationAction(Guid)

Retrieve notification action by id.

public:
 Microsoft::EnterpriseManagement::Administration::NotificationAction ^ GetNotificationAction(Guid id);
public Microsoft.EnterpriseManagement.Administration.NotificationAction GetNotificationAction (Guid id);
abstract member GetNotificationAction : Guid -> Microsoft.EnterpriseManagement.Administration.NotificationAction
Public Function GetNotificationAction (id As Guid) As NotificationAction

Parameters

id
Guid

The id of the action.

Returns

NotificationAction

A notification action.

Exceptions

ObjectNotFoundException

No NotificationAction with that id found.

Applies to

GetNotificationAction(String)

Retrieve notification action by name.

public:
 Microsoft::EnterpriseManagement::Administration::NotificationAction ^ GetNotificationAction(System::String ^ name);
public Microsoft.EnterpriseManagement.Administration.NotificationAction GetNotificationAction (string name);
abstract member GetNotificationAction : string -> Microsoft.EnterpriseManagement.Administration.NotificationAction
Public Function GetNotificationAction (name As String) As NotificationAction

Parameters

name
String

The name of the action.

Returns

NotificationAction

A notification action.

Exceptions

name is null

ObjectNotFoundException

No NotificationAction with that name found.

Applies to