Runspace.CanUseDefaultRunspace 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.
Returns true if Runspace.DefaultRunspace can be used to create an instance of the PowerShell class with 'UseCurrentRunspace = true'.
public:
static property bool CanUseDefaultRunspace { bool get(); };
public:
static property bool CanUseDefaultRunspace { bool get(); };
public static bool CanUseDefaultRunspace { get; }
static member CanUseDefaultRunspace : bool
Public Shared ReadOnly Property CanUseDefaultRunspace As Boolean