DiscReason() as CclEndTermReasons
This method will return an enumeration showing the reason the terminal has been disconnected. Possible values are shown in CclTerminal EndTermReasons.