Share via


CommandNotificationAction Class

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Represents a command that executes in response to a triggered alert or state change.

Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Usage

'Usage
Dim instance As CommandNotificationAction

Syntax

'Declaration
<SerializableAttribute> _
Public Class CommandNotificationAction
    Inherits NotificationAction
[SerializableAttribute] 
public class CommandNotificationAction : NotificationAction
[SerializableAttribute] 
public ref class CommandNotificationAction : public NotificationAction
/** @attribute SerializableAttribute() */ 
public class CommandNotificationAction extends NotificationAction
SerializableAttribute 
public class CommandNotificationAction extends NotificationAction

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.

Inheritance Hierarchy

System.Object
   Microsoft.EnterpriseManagement.Common.MonitoringBase
     Microsoft.EnterpriseManagement.Common.CreatableMonitoringBaseWithId
       Microsoft.EnterpriseManagement.Administration.NotificationAction
        Microsoft.EnterpriseManagement.Administration.CommandNotificationAction

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

CommandNotificationAction Members
Microsoft.EnterpriseManagement.Administration Namespace