Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RunspaceConnectionInfo Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Provides information about the connection used for opening the runspace on a computer, such as the name of the computer where the runspace is opened, the port used to make the connection, and the uniform resource identifier (URI) of the connection. This class is introduced in Windows PowerShell 2.0.

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


public ref class RunspaceConnectionInfo abstract 

NameDescription
System_CAPS_protmethodRunspaceConnectionInfo()

Creates a new RunspaceConnectionInfo object. This constructor is introduced by Windows PowerShell 2.0.

NameDescription
System_CAPS_pubpropertyAuthenticationMechanism

Gets the authentication mechanism used to authenticate the connection. This property is introduced in Windows PowerShell 2.0.

System_CAPS_pubpropertyCancelTimeout

Gets and sets the maximum allowed time (in milliseconds) that Windows PowerShell will wait before it times due to a cancel operations, such as closing the runspace or stopping Windows PowerShell.

System_CAPS_pubpropertyCertificateThumbprint

Gets a simplified representation of the certificate used to connect to the computer. This property is introduced in Windows PowerShell 2.0.

System_CAPS_pubpropertyComputerName

Gets the name of the computer where the connection is made. This property is introduced in Windows PowerShell 2.0.

System_CAPS_pubpropertyCredential

Gets the credentials for the user account that has permission to make the connection. This property is introduced in Windows PowerShell 2.0.

System_CAPS_pubpropertyCulture

Gets and sets the culture that is used when running commands in the remote runspace.

System_CAPS_pubpropertyIdleTimeout

Gets and sets the amount of time (in milliseconds) that Windows PowerShell will wait for an idle operation to complete.

System_CAPS_pubpropertyMaxIdleTimeout

The maximum allowed idle timeout duration (in ms) that can be set on a Runspace. This is a read-only property that is set once the Runspace is successfully created and opened.

This element is introduced in Windows PowerShell 5.0.

System_CAPS_pubpropertyOpenTimeout

Gets and sets the maximum amount of time (in milliseconds) that Windows PowerShell will wait for an open operation to complete.

System_CAPS_pubpropertyOperationTimeout

Gets and sets the amount of time (in milliseconds) that Windows PowerShell will wait for an operation to complete.

System_CAPS_pubpropertyUICulture

Gets and sets the UI culture that is used when running commands in the remote runspace.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSetSessionOptions(PSSessionOption^)

When overridden in a derived class, populates session options from a PSSessionOption instance. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

Return to top
Show:
© 2016 Microsoft