Name
ObjectStateEnum Enumeration — (Versions 2.0, 2.1, 2.5, 2.6)
Synopsis
The ObjectStateEnum enumeration provides a status of the current object.
Table E-32. The ObjectStateEnum Enumeration
|
Enumeration (ADO/WFC) |
Value |
Description |
|---|---|---|
adStateClosed (CLOSED) |
0 |
Default. Indicates that the current object is closed. |
adStateConnecting (CONNECTING) |
2 |
Indicates that the current object is connecting to the data source. |
adStateExecuting (EXECUTING) |
4 |
Indicates that the current object is executing a command. |
adStateFetching (FETCHING) |
8 |
Indicates that the current object is fetching rows from the data source. |
adStateOpen (OPEN) |
1 |
Indicates that the current object is open. |
ADO/WFC
The ObjectStateEnum enumeration is part of the com.ms.wfc.data package, and the constant values are preceded with AdoEnums.ObjectState.
See Also
Command.State Property, Connection.State Property, Record.State Property, Recordset.State Property, Stream.State Property
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access