Partager via


TestConnectionCommand.Delay Property

Definition

Gets or sets the delay between ping attempts. The default (from Windows) is 1 second.

public int Delay { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="DefaultPing")]
[System.Management.Automation.Parameter(ParameterSetName="RepeatPing")]
[System.Management.Automation.ValidateRange(System.Management.Automation.ValidateRangeKind.Positive)]
public int Delay { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="DefaultPing")]
[System.Management.Automation.Parameter(ParameterSetName="RepeatPing")]
[System.Management.Automation.ValidateRange(System.Management.Automation.ValidateRangeKind.Positive)]
[System.Management.Automation.Parameter(ParameterSetName="TcpPort")]
public int Delay { get; set; }
member this.Delay : int with get, set
[<System.Management.Automation.Parameter(ParameterSetName="DefaultPing")>]
[<System.Management.Automation.Parameter(ParameterSetName="RepeatPing")>]
[<System.Management.Automation.ValidateRange(System.Management.Automation.ValidateRangeKind.Positive)>]
member this.Delay : int with get, set
[<System.Management.Automation.Parameter(ParameterSetName="DefaultPing")>]
[<System.Management.Automation.Parameter(ParameterSetName="RepeatPing")>]
[<System.Management.Automation.ValidateRange(System.Management.Automation.ValidateRangeKind.Positive)>]
[<System.Management.Automation.Parameter(ParameterSetName="TcpPort")>]
member this.Delay : int with get, set
Public Property Delay As Integer

Property Value

Attributes

Applies to