RunspacePool.CreateDisconnectedPowerShells Method
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.
Creates an array of PowerShell objects that are in the Disconnected state for all currently disconnected running commands associated with this runspace pool.
public:
System::Collections::ObjectModel::Collection<System::Management::Automation::PowerShell ^> ^ CreateDisconnectedPowerShells();
public System.Collections.ObjectModel.Collection<System.Management.Automation.PowerShell> CreateDisconnectedPowerShells ();
member this.CreateDisconnectedPowerShells : unit -> System.Collections.ObjectModel.Collection<System.Management.Automation.PowerShell>
Public Function CreateDisconnectedPowerShells () As Collection(Of PowerShell)