Returns a value which indicates the current state of the session.
State() as Integer
State() as CclEPIStates
These values are the same as those returned by the state method in the Session COM class.
Constants are available in the type library. Use the Visual Basic Object Browser to view them.