PSRemotingBaseCmdlet.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="SSHHost", Position=0)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public virtual string[] HostName { get; set; }
public virtual string[] HostName { get; set; }
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="SSHHost", Position=0)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.HostName : string[] with get, set
member this.HostName : string[] with get, set
Public Overridable Property HostName As String()
Property Value
String[]
- Attributes