Partager via


CommonRunspaceCommandBase.GetRunspaces Method

Definition

Returns a list of valid runspaces based on current parameter set.

protected:
 System::Collections::Generic::IReadOnlyList<System::Management::Automation::Runspaces::Runspace ^> ^ GetRunspaces();
protected System.Collections.Generic.IReadOnlyList<System.Management.Automation.Runspaces.Runspace> GetRunspaces ();
member this.GetRunspaces : unit -> System.Collections.Generic.IReadOnlyList<System.Management.Automation.Runspaces.Runspace>
Protected Function GetRunspaces () As IReadOnlyList(Of Runspace)

Returns

IReadOnlyList.

Applies to