CommandNotificationAction.CommandLine Property

Updated: April 16, 2012

Gets or sets the command that this notification action executes. Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As CommandNotificationAction Dim value As String value = instance.CommandLine instance.CommandLine = valuePublic Property CommandLine As Stringpublic string CommandLine { get; set; }public: property String^ CommandLine { String^ get (); void set (String^ value); }/** @property */ public String get_CommandLine () /** @property */ public void set_CommandLine (String value) public function get CommandLine () : String public function set CommandLine (value : String) Property ValueReturns a String that defines the command that this notification action executes.

The value of this property must match the command exactly as it would be entered at a command prompt.

Define the value of the WorkingDirectory property to indicate the directory in which the command is executed.


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