State Property (ADO MD)

Microsoft ActiveX Data Objects (ADO)

State Property

       

Indicates the current state of the cellset.

Return Values

Returns a Long integer indicating the current condition of the Cellset object and is read-only. The following values are valid: adStateClosed (0) and adStateOpen (1).

Remarks

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