InvokeCommandCommand.HostName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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