CommandNotificationAction.WorkingDirectory Property
Applies To: Operations Manager for System Center 2012
Gets or sets the path of the directory in which the command is executed.
Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
public string WorkingDirectory { get; set; }
public:
property String^ WorkingDirectory {
String^ get();
void set(String^ value);
}
member WorkingDirectory : string with get, set
Public Property WorkingDirectory As String
Property Value
Type: System.String
Returns a String value that contains the path of the directory in which the command is executed.
Remarks
The application that is executed by the command must be located in the specified working directory. Alternatively, you can add the application's path to the value of the Path environment variable on the local machine.
See Also
CommandNotificationAction Class
Microsoft.EnterpriseManagement.Administration Namespace
Return to top