Поделиться через


CommandNotificationAction.WorkingDirectory Property

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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

'Usage
Dim instance As CommandNotificationAction
Dim value As String

value = instance.WorkingDirectory

instance.WorkingDirectory = value

Syntax

'Declaration
Public Property WorkingDirectory As String
public 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 Value

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.

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

Target Platforms

See Also

Reference

CommandNotificationAction Class
CommandNotificationAction Members
Microsoft.EnterpriseManagement.Administration Namespace