CommandNotificationAction.CommandLine Property
Applies To: Operations Manager for System Center 2012
Gets or sets the command that this notification action executes.
Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
public string CommandLine { get; set; }
public:
property String^ CommandLine {
String^ get();
void set(String^ value);
}
member CommandLine : string with get, set
Public Property CommandLine As String
Property Value
Type: System.String
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.
See Also
CommandNotificationAction Class
Microsoft.EnterpriseManagement.Administration Namespace
Return to top