Gets or sets the command that this notification action executes. Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As CommandNotificationAction
Dim value As String

value = instance.CommandLine

instance.CommandLine = value

Syntax

Visual Basic
Public Property CommandLine As String
C#
public string CommandLine { get; set; }
C++
public:
property String^ CommandLine {
		String^ get ();
		void set (String^ value);
}
J#
/** @property */
public String get_CommandLine ()

/** @property */
public void set_CommandLine (String value)
JScript
public function get CommandLine () : String

public function set CommandLine (value : String)

Property Value

A String that defines the command that this notification action executes.

Remarks

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.


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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also