Condividi tramite


PSRemotingBaseCmdlet.ParseSshHostName(String, String, String, Int32) Method

Definition

Parse a hostname used with SSH Transport to get embedded username and/or port.

protected void ParseSshHostName (string hostname, out string host, out string userName, out int port);
member this.ParseSshHostName : string * string * string * int -> unit
Protected Sub ParseSshHostName (hostname As String, ByRef host As String, ByRef userName As String, ByRef port As Integer)

Parameters

hostname
String

Host name to parse.

host
String

Resolved target host.

userName
String

Resolved target user name.

port
Int32

Resolved target port.

Applies to