Partager via


TestConnectionCommand.Repeat Property

Definition

Gets or sets whether to continue pinging until user presses Ctrl-C (or Int.MaxValue threshold reached).

[System.Management.Automation.Alias(new System.String[] { "Continuous" })]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="RepeatPing")]
public System.Management.Automation.SwitchParameter Repeat { get; set; }
[System.Management.Automation.Alias(new System.String[] { "Continuous" })]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="RepeatPing")]
[System.Management.Automation.Parameter(ParameterSetName="TcpPort")]
public System.Management.Automation.SwitchParameter Repeat { get; set; }
[<System.Management.Automation.Alias(new System.String[] { "Continuous" })>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="RepeatPing")>]
member this.Repeat : System.Management.Automation.SwitchParameter with get, set
[<System.Management.Automation.Alias(new System.String[] { "Continuous" })>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="RepeatPing")>]
[<System.Management.Automation.Parameter(ParameterSetName="TcpPort")>]
member this.Repeat : System.Management.Automation.SwitchParameter with get, set
Public Property Repeat As SwitchParameter

Property Value

Attributes

Applies to