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)

Usage

Visual Basic
Dim instance As CommandNotificationAction
Dim value As String

value = instance.WorkingDirectory

instance.WorkingDirectory = value

Syntax

Visual Basic
Public Property WorkingDirectory As String
C#
public string WorkingDirectory { get; set; }
C++
public:
property String^ WorkingDirectory {
		String^ get ();
		void set (String^ value);
}
J#
/** @property */
public String get_WorkingDirectory ()

/** @property */
public void set_WorkingDirectory (String value)
JScript
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.

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.


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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also