CommandNotificationAction Class

Definition

An command notification action for notification subscriptions.

public ref class CommandNotificationAction : Microsoft::EnterpriseManagement::Administration::NotificationAction
[System.Serializable]
public class CommandNotificationAction : Microsoft.EnterpriseManagement.Administration.NotificationAction
type CommandNotificationAction = class
    inherit NotificationAction
Public Class CommandNotificationAction
Inherits NotificationAction
Inheritance
Attributes

Remarks

Defining a command that responds to triggered alerts or state changes allows you to specify a path to an application or script that can perform basic troubleshooting functions for a particular failure.

After initializing a CommandNotificationAction object, you can add it to the list of actions for a particular subscription by setting the value of the Actions parameter.

Constructors

CommandNotificationAction(String, String)

Creates a new CommandNotificationAction.

Properties

ApplicationName

The application name.

CommandLine

The command line.

Description

The description of the action.

(Inherited from NotificationAction)
DisplayName

The display name of the action.

(Inherited from NotificationAction)
ManagementGroup

The ManagementGroup the object was instantiated in.

(Inherited from NotificationAction)
Name

The name of the action.

(Inherited from NotificationAction)
RecipientProtocol

The recipient protocol.

Timeout

The timeout, in seconds

WorkingDirectory

The working directory

Methods

Reconnect(EnterpriseManagementGroup)

Reconnects the specified management group.

(Inherited from NotificationAction)
Update()

Updates the notification action.

(Inherited from NotificationAction)

Applies to