The State property of an object of ClassType clsServer returns an enumeration constant indicating the status of the connection to the OLAP server.
ServerStates (an enumeration)
Read-only
For a complete list of server states, see Enumerations.