Share via


ManagementGroup.GetNotificationAction Method

Definition

Retrieves the specified notification action.

Overloads

GetNotificationAction(Guid)
Obsolete.

Retrieve notification action by id.

GetNotificationAction(String)
Obsolete.

Retrieve notification action by name.

GetNotificationAction(Guid)

Caution

Please use Notifications.GetNotificationAction()

Retrieve notification action by id.

public:
 Microsoft::EnterpriseManagement::Administration::NotificationAction ^ GetNotificationAction(Guid id);
[System.Obsolete("Please use Notifications.GetNotificationAction()")]
public Microsoft.EnterpriseManagement.Administration.NotificationAction GetNotificationAction (Guid id);
member this.GetNotificationAction : Guid -> Microsoft.EnterpriseManagement.Administration.NotificationAction
Public Function GetNotificationAction (id As Guid) As NotificationAction

Parameters

id
Guid

The id of the action.

Returns

A notification action.

Attributes

Exceptions

No NotificationAction with that id found.

Applies to

GetNotificationAction(String)

Caution

Please use Notifications.GetNotificationAction()

Retrieve notification action by name.

public:
 Microsoft::EnterpriseManagement::Administration::NotificationAction ^ GetNotificationAction(System::String ^ name);
[System.Obsolete("Please use Notifications.GetNotificationAction()")]
public Microsoft.EnterpriseManagement.Administration.NotificationAction GetNotificationAction (string name);
member this.GetNotificationAction : string -> Microsoft.EnterpriseManagement.Administration.NotificationAction
Public Function GetNotificationAction (name As String) As NotificationAction

Parameters

name
String

The name of the action.

Returns

A notification action.

Attributes

Exceptions

name is null

No NotificationAction with that name found.

Applies to