Pipeline.Connect 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.
Connects synchronously to a running command on a remote server. The pipeline object must be in the disconnected state.
public:
abstract System::Collections::ObjectModel::Collection<System::Management::Automation::PSObject ^> ^ Connect();
public abstract System.Collections.ObjectModel.Collection<System.Management.Automation.PSObject> Connect ();
abstract member Connect : unit -> System.Collections.ObjectModel.Collection<System.Management.Automation.PSObject>
Public MustOverride Function Connect () As Collection(Of PSObject)
Returns
A collection of result objects.