Share via


DisconnectPSSessionCommand.IdleTimeoutSec Property

Definition

Idle Timeout session option in seconds. Used in this cmdlet to set server disconnect idletimeout option.

public:
 property int IdleTimeoutSec { int get(); void set(int value); };
public:
 property int IdleTimeoutSec { int get(); void set(int value); };
public int IdleTimeoutSec { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="Session")]
[System.Management.Automation.Parameter(ParameterSetName="Name")]
[System.Management.Automation.Parameter(ParameterSetName="Id")]
[System.Management.Automation.Parameter(ParameterSetName="InstanceId")]
[System.Management.Automation.ValidateRange(0, 2147483647)]
public int IdleTimeoutSec { get; set; }
member this.IdleTimeoutSec : int with get, set
[<System.Management.Automation.Parameter(ParameterSetName="Session")>]
[<System.Management.Automation.Parameter(ParameterSetName="Name")>]
[<System.Management.Automation.Parameter(ParameterSetName="Id")>]
[<System.Management.Automation.Parameter(ParameterSetName="InstanceId")>]
[<System.Management.Automation.ValidateRange(0, 2147483647)>]
member this.IdleTimeoutSec : int with get, set
Public Property IdleTimeoutSec As Integer

Property Value

Attributes

Applies to