Runspace.DefaultRunspace Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.