Partager via


ConnectPSSessionCommand.SessionOption Property

Definition

Extended session options. Used in this cmdlet to set server disconnect options.

public:
 property System::Management::Automation::Remoting::PSSessionOption ^ SessionOption { System::Management::Automation::Remoting::PSSessionOption ^ get(); void set(System::Management::Automation::Remoting::PSSessionOption ^ value); };
public System.Management.Automation.Remoting.PSSessionOption SessionOption { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="ComputerName")]
[System.Management.Automation.Parameter(ParameterSetName="ComputerNameGuid")]
[System.Management.Automation.Parameter(ParameterSetName="ConnectionUri")]
[System.Management.Automation.Parameter(ParameterSetName="ConnectionUriGuid")]
public 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="ComputerNameGuid")>]
[<System.Management.Automation.Parameter(ParameterSetName="ConnectionUri")>]
[<System.Management.Automation.Parameter(ParameterSetName="ConnectionUriGuid")>]
member this.SessionOption : System.Management.Automation.Remoting.PSSessionOption with get, set
Public Property SessionOption As PSSessionOption

Property Value

Attributes

Applies to