Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Terminal Object / GetSerialConnectionStatistics Method
A ConnectionStatisticOption value that specifies which statistics to return.
In This Topic
    GetSerialConnectionStatistics Method
    In This Topic
    Returns a statistic for a serial connection.
    Syntax
    expression.GetSerialConnectionStatistics( _
       ByVal option As ConnectionStatisticOption _
    ) As Integer
    where expression is a variable that represents a Terminal Object

    Parameters

    option
    A ConnectionStatisticOption value that specifies which statistics to return.

    Return Value

    The requested statistic if the ConnectionType is a serial connection, or -1 if it is not.
    Remarks
    If the connection is not a serial connection, or if there is not connection, GetSerialStatistics returns -1. Statistics are maintained from the time a connection is established, from when the terminal session is reset (with the ResetTerminal method), or from when the Reset button is clicked in the Serial Connection Statistics dialog box.
    See Also