Runspace.ConnectAsync Method

Asynchronously connects the remote runspace to the remote server and sets the runspace state to Opened. If the object is a local runspace, a not supported exception is thrown.

Namespace: System.Management.Automation.Runspaces
Assembly: System.Management.Automation (in System.Management.Automation.dll)

Dim instance As Runspace


public abstract void ConnectAsync ()
public abstract void ConnectAsync ()
public abstract function ConnectAsync ()

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms

© 2015 Microsoft