Help Center

CADOCommand.Stateproperty

Indicates if the **Command** object is open or closed.

DatabasespropertyCADOCommand.incdocumented

Syntax

PROPERTY State () AS LONG

Return value

Returns a Long value that can be an ObjectStateEnum value. The default value is adStateClosed.

Description

Indicates if the Command object is open or closed.

Reference

  • Include file CADOCommand.inc
  • Defined in AfxNova/CAdoCommand.inc:384
  • Documented in Databases/ADO Classes/CAdoCommand Class.md
  • Topic: CAdoCommand Class