Partager via


ManagementPackConsoleTask.WorkingDirectory Property

Gets or sets the working directory that the console will execute commands from.

Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

'Usage
Dim instance As ManagementPackConsoleTask
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

A string that contains the working directory that the console will execute commands from.

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

Reference

ManagementPackConsoleTask Class
ManagementPackConsoleTask Members
Microsoft.EnterpriseManagement.Configuration Namespace

Send comments about this topic to Microsoft.