次の方法で共有


RunspacePool.CreateDisconnectedPowerShells Method

Definition

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)

Returns

Applies to