Name

Connection.State Property — (Versions 2.0, 2.1, 2.5, 2.6)

Synopsis

                     state = connection.State

The State property indicates the current status of a Command, Connection, Record, Recordset, or Stream object.

Datatype

ObjectStateEnum (Long)

Description

The State property returns a combination of the ObjectStateEnum values, listed in Appendix E, which indicate the current state of an object.

See Also

ObjectStateEnum Enumeration

Get ADO: ActiveX Data Objects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.