Dela via


PSRemotingBaseCmdlet.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="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

Applies to