InfoConnect for Unisys
Attachmate.Reflection.Emulation.OpenSystems Namespace / ITerminal Interface / GetSerialConnectionStatistics Method
Specifies which statistics to return.

In This Topic
    GetSerialConnectionStatistics Method
    In This Topic
    Returns a statistic for a serial connection.
    Function GetSerialConnectionStatistics( _
       ByVal option As ConnectionStatisticOption _
    ) As Integer
    Dim instance As ITerminal
    Dim option As ConnectionStatisticOption
    Dim value As Integer
    value = instance.GetSerialConnectionStatistics(option)
    int GetSerialConnectionStatistics( 
       ConnectionStatisticOption option


    Specifies which statistics to return.

    Return Value

    The requested statistic if the ConnectionType is a serial connection, or -1 if it is not.
    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 or from when the terminal session is reset (for example, with the ResetTerminal method).
    See Also