共用方式為


TestConnectionCommand.Source Property

Definition

Gets the source from which to run the selected test. The default is localhost. Remoting is not yet implemented internally in the cmdlet.

public string[] Source { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="DefaultPing")]
[System.Management.Automation.Parameter(ParameterSetName="RepeatPing")]
[System.Management.Automation.Parameter(ParameterSetName="TraceRoute")]
[System.Management.Automation.Parameter(ParameterSetName="TcpPort")]
public string Source { get; }
member this.Source : string[] with get, set
[<System.Management.Automation.Parameter(ParameterSetName="DefaultPing")>]
[<System.Management.Automation.Parameter(ParameterSetName="RepeatPing")>]
[<System.Management.Automation.Parameter(ParameterSetName="TraceRoute")>]
[<System.Management.Automation.Parameter(ParameterSetName="TcpPort")>]
member this.Source : string
Public Property Source As String()
Public ReadOnly Property Source As String

Property Value

String[]
Attributes

Applies to