CommandNotificationAction Class

System Center
 

Updated: April 16, 2012

Applies To: Operations Manager for System Center 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)


[SerializableAttribute]
public ref class CommandNotificationAction : NotificationAction

NameDescription
System_CAPS_pubmethodCommandNotificationAction(String^, String^)

Initializes the CommandNotificationAction class with user-defined names for the notification action and the recipient protocol.

NameDescription
System_CAPS_pubpropertyApplicationName

Gets or sets the name of the application that is executed by this notification action.

System_CAPS_pubpropertyCommandLine

Gets or sets the command that this notification action executes.

System_CAPS_pubpropertyDescription

Gets or sets the description of the notification action.(Inherited from NotificationAction.)

System_CAPS_pubpropertyDisplayName

Gets or sets the display name of the notification action.(Inherited from NotificationAction.)

System_CAPS_pubpropertyId
System_CAPS_pubpropertyManagementGroup

The connection management group connection used by this object.(Inherited from NotificationAction.)

System_CAPS_pubpropertyManagementGroupId

(Inherited from MonitoringBase.)

System_CAPS_pubpropertyName

Gets or sets the name of the notification action.(Inherited from NotificationAction.)

System_CAPS_pubpropertyRecipientProtocol

Gets or sets the transport protocol used to deliver notifications to the recipient.

System_CAPS_pubpropertyTimeout

Gets or sets the number of seconds to wait for the command to complete execution.

System_CAPS_pubpropertyWorkingDirectory

Gets or sets the path of the directory in which the command is executed.

NameDescription
System_CAPS_pubmethodEquals(Object^)
System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()
System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodReconnect(EnterpriseManagementGroup^)

Reconnects to the specified management group after the object has been disconnected.(Inherited from NotificationAction.)

System_CAPS_pubmethodToString()

(Inherited from MonitoringBase.)

System_CAPS_pubmethodUpdate()

Updates the notification action.(Inherited from 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.

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

Return to top
Show: