Programming with Reflection
TransportName property
Syntax |
object.TransportName |
Data type |
Returns a string identifying the current transport type. The returned string matches the transport type as shown in the Session Setup dialog box. For example, this statement displays a message box with the current transport type:
MsgBox "The current tranport type is " & Session.TransportName
This property is read-only. The default is "Telnet".
Use the SetupSession method to change the current transport type programmatically.