다음을 통해 공유


InvokeCommandCommand.HostName Property

Definition

Host name for an SSH remote connection.

public:
 virtual property cli::array <System::String ^> ^ HostName { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
public:
 virtual property Platform::Array <Platform::String ^> ^ HostName { Platform::Array <Platform::String ^> ^ get(); void set(Platform::Array <Platform::String ^> ^ value); };
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="FilePathSSHHost")]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="SSHHost")]
[System.Management.Automation.ValidateNotNullOrEmpty]
public override string[] HostName { get; set; }
public override string[] HostName { get; set; }
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="FilePathSSHHost")>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="SSHHost")>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.HostName : string[] with get, set
member this.HostName : string[] with get, set
Public Overrides Property HostName As String()

Property Value

String[]
Attributes

Applies to