PSRemotingBaseCmdlet.ParseSshHostName(String, String, String, Int32) Method
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.
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.