State Property (ADO MD)

      Applies To   

The State property indicates the current state of the Cellset.

Return Values

State returns a Long integer indicating the current condition of the Cellset. The following values are valid:

Value Description Name
0 The Cellset is closed. adStateClosed
1 The Cellset is open. adStateOpen

State is read-only.

Remarks

To use the constant names, you must have the ADO type library referenced in your project. See the section  Using ADO with ADO MD for more information.