CommandNotificationAction Class

Updated: April 16, 2012

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)Dim instance As CommandNotificationAction <SerializableAttribute> _ Public Class CommandNotificationAction Inherits NotificationAction[SerializableAttribute] public class CommandNotificationAction : NotificationAction[SerializableAttribute] public ref class CommandNotificationAction : public NotificationAction/** @attribute SerializableAttribute() */ public class CommandNotificationAction extends NotificationActionSerializableAttribute public class CommandNotificationAction extends NotificationAction

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.



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

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms