Share via


NewPSSessionOptionCommand.IdleTimeout Property

Definition

The duration for which a Runspace on server needs to wait (in milliseconds) before it declares the client dead and closes itself down. This is especially important as these values may have to be configured differently for enterprise administration scenarios.

public:
 property int IdleTimeout { int get(); void set(int value); };
public:
 property int IdleTimeout { int get(); void set(int value); };
public int IdleTimeout { get; set; }
[System.Management.Automation.Alias(new System.String[] { "IdleTimeoutMSec" })]
[System.Management.Automation.Parameter]
[System.Management.Automation.ValidateRange(-1, 2147483647)]
public int IdleTimeout { get; set; }
member this.IdleTimeout : int with get, set
[<System.Management.Automation.Alias(new System.String[] { "IdleTimeoutMSec" })>]
[<System.Management.Automation.Parameter>]
[<System.Management.Automation.ValidateRange(-1, 2147483647)>]
member this.IdleTimeout : int with get, set
Public Property IdleTimeout As Integer

Property Value

Attributes

Applies to