Freigeben über


Runspace.CanUseDefaultRunspace Property

Definition

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

Property Value

Applies to