次の方法で共有


TestConnectionCommand.Count Property

Definition

Gets or sets the number of ping attempts. The default (from Windows) is 4 times.

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

Property Value

Attributes

Applies to