Share via


TestConnectionCommand.TcpPort Property

Definition

Gets or sets whether to perform a TCP connection test.

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

Property Value

Attributes

Applies to