Dela via


PSRemotingBaseCmdlet.SessionOption Property

Definition

Extended Session Options for controlling the session creation. Use "New-WSManSessionOption" cmdlet to supply value for this parameter.

public:
 virtual property System::Management::Automation::Remoting::PSSessionOption ^ SessionOption { System::Management::Automation::Remoting::PSSessionOption ^ get(); void set(System::Management::Automation::Remoting::PSSessionOption ^ value); };
public virtual System.Management.Automation.Remoting.PSSessionOption SessionOption { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="ComputerName")]
[System.Management.Automation.Parameter(ParameterSetName="Uri")]
[System.Management.Automation.ValidateNotNull]
public virtual System.Management.Automation.Remoting.PSSessionOption SessionOption { get; set; }
member this.SessionOption : System.Management.Automation.Remoting.PSSessionOption with get, set
[<System.Management.Automation.Parameter(ParameterSetName="ComputerName")>]
[<System.Management.Automation.Parameter(ParameterSetName="Uri")>]
[<System.Management.Automation.ValidateNotNull>]
member this.SessionOption : System.Management.Automation.Remoting.PSSessionOption with get, set
Public Overridable Property SessionOption As PSSessionOption

Property Value

Attributes

Applies to