Share via


WaitEventCommand.Timeout Property

Definition

If timeout is specified, the cmdlet will only wait for this number of seconds. Value of -1 means never timeout.

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

Property Value

Attributes

Applies to