CommandNotificationAction.WorkingDirectory Property

Updated: April 16, 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)Dim instance As CommandNotificationAction Dim value As String value = instance.WorkingDirectory instance.WorkingDirectory = valuePublic Property WorkingDirectory As Stringpublic string WorkingDirectory { get; set; }public: property String^ WorkingDirectory { String^ get (); void set (String^ value); }/** @property */ public String get_WorkingDirectory () /** @property */ public void set_WorkingDirectory (String value) public function get WorkingDirectory () : String public function set WorkingDirectory (value : String) Property ValueReturns a String value that contains the path of the directory in which the command is executed.

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.


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