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)


Visual Basic
Dim instance As CommandNotificationAction
Dim value As String

value = instance.WorkingDirectory

instance.WorkingDirectory = value


Visual Basic
Public Property WorkingDirectory As String
public string WorkingDirectory { get; set; }
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 Value

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.

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.


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