Compartilhar via


Runspace.DefaultRunspace Property

Definition

Gets and sets the default Runspace used to evaluate scripts.

public:
 static property System::Management::Automation::Runspaces::Runspace ^ DefaultRunspace { System::Management::Automation::Runspaces::Runspace ^ get(); void set(System::Management::Automation::Runspaces::Runspace ^ value); };
public static System.Management.Automation.Runspaces.Runspace DefaultRunspace { get; set; }
static member DefaultRunspace : System.Management.Automation.Runspaces.Runspace with get, set
Public Shared Property DefaultRunspace As Runspace

Property Value

Remarks

The Runspace used to set this property should not be shared between different threads.

Applies to