共用方式為


TestConnectionCommand.TimeoutSeconds Property

Definition

Gets or sets the timeout value for an individual ping in seconds. If a response is not received in this time, no response is assumed. The default (from Windows) is 5 seconds.

[System.Management.Automation.Parameter]
[System.Management.Automation.ValidateRange(System.Management.Automation.ValidateRangeKind.Positive)]
public int TimeoutSeconds { get; set; }
[<System.Management.Automation.Parameter>]
[<System.Management.Automation.ValidateRange(System.Management.Automation.ValidateRangeKind.Positive)>]
member this.TimeoutSeconds : int with get, set
Public Property TimeoutSeconds As Integer

Property Value

Attributes

Applies to