共用方式為


RunspaceConnectionInfo.SetSessionOptions(PSSessionOption) Method

Definition

Populates session options from a PSSessionOption instance.

public:
 virtual void SetSessionOptions(System::Management::Automation::Remoting::PSSessionOption ^ options);
public virtual void SetSessionOptions (System.Management.Automation.Remoting.PSSessionOption options);
abstract member SetSessionOptions : System.Management.Automation.Remoting.PSSessionOption -> unit
override this.SetSessionOptions : System.Management.Automation.Remoting.PSSessionOption -> unit
Public Overridable Sub SetSessionOptions (options As PSSessionOption)

Parameters

options
PSSessionOption

Applies to