RunspaceProvider.GetRunspace(WSManConnectionInfo, UInt32, UInt32) 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.
Get runspace for the specified connection info to be used for running commands
public:
virtual System::Management::Automation::Runspaces::Runspace ^ GetRunspace(System::Management::Automation::Runspaces::WSManConnectionInfo ^ connectionInfo, System::UInt32 retryCount, System::UInt32 retryInterval);
public virtual System.Management.Automation.Runspaces.Runspace GetRunspace (System.Management.Automation.Runspaces.WSManConnectionInfo connectionInfo, uint retryCount, uint retryInterval);
abstract member GetRunspace : System.Management.Automation.Runspaces.WSManConnectionInfo * uint32 * uint32 -> System.Management.Automation.Runspaces.Runspace
override this.GetRunspace : System.Management.Automation.Runspaces.WSManConnectionInfo * uint32 * uint32 -> System.Management.Automation.Runspaces.Runspace
Public Overridable Function GetRunspace (connectionInfo As WSManConnectionInfo, retryCount As UInteger, retryInterval As UInteger) As Runspace
Parameters
- connectionInfo
- WSManConnectionInfo
connection info to use
- retryCount
- UInt32
retry count
- retryInterval
- UInt32
retry interval in ms
Returns
remote runspace to use