Udostępnij za pośrednictwem


TestConnectionCommand.BufferSize Property

Definition

Gets or sets the buffer size to send with the ping packet. The default (from Windows) is 32 bytes. Max value is 65500 (limitation imposed by Windows API).

public int BufferSize { get; set; }
[System.Management.Automation.Alias(new System.String[] { "Size", "Bytes", "BS" })]
[System.Management.Automation.Parameter(ParameterSetName="DefaultPing")]
[System.Management.Automation.Parameter(ParameterSetName="RepeatPing")]
[System.Management.Automation.ValidateRange(0, 65500)]
public int BufferSize { get; set; }
member this.BufferSize : int with get, set
[<System.Management.Automation.Alias(new System.String[] { "Size", "Bytes", "BS" })>]
[<System.Management.Automation.Parameter(ParameterSetName="DefaultPing")>]
[<System.Management.Automation.Parameter(ParameterSetName="RepeatPing")>]
[<System.Management.Automation.ValidateRange(0, 65500)>]
member this.BufferSize : int with get, set
Public Property BufferSize As Integer

Property Value

Attributes

Applies to