ConnectionStatus

Gets properties related to the session connection status.


Syntax

FlexSession.ConnectionStatus


Properties (read only)


HostName

String



Host name that the session is currently connected to. Empty string is returned if session is not connected.


HostPort

Integer



Host port that the session is currently connected to. If session is not connected, zero is returned.


ResourceName

String



Resource name of the connected session. For VT sessions this property will always return an empty string.


Log

String



Returns the connection log for the current session.


Example

Sub Main()

MsgBox "The Host Name for this session is:" & vbCrLf & vbCrLf & FlexSession.ConnectionStatus.HostName

End Sub