CommandNotificationAction.CommandLine Property
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Gets or sets the command that this notification action executes.
Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Usage
'Usage
Dim instance As CommandNotificationAction
Dim value As String
value = instance.CommandLine
instance.CommandLine = value
Syntax
'Declaration
Public Property CommandLine As String
public 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 Value
Returns 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 Vista, Windows Server 2003, and
Target Platforms
See Also
Reference
CommandNotificationAction Class
CommandNotificationAction Members
Microsoft.EnterpriseManagement.Administration Namespace