Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)
Usage
Visual Basic |
---|
Dim instance As CommandNotificationAction |
Syntax
Visual Basic |
---|
<SerializableAttribute> _ Public Class CommandNotificationAction Inherits NotificationAction |
C# |
---|
[SerializableAttribute] public class CommandNotificationAction : NotificationAction |
C++ |
---|
[SerializableAttribute] public ref class CommandNotificationAction : public NotificationAction |
J# |
---|
/** @attribute SerializableAttribute() */ public class CommandNotificationAction extends NotificationAction |
JScript |
---|
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
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.