AdoConnection:State

<< Click to Display Table of Contents >>

Navigation:  Ado Classes > AdoConnection Class >

AdoConnection:State

Previous pageReturn to chapter overviewNext page

Purpose

Is the object open or closed.

 

Prototype

 

PROPERTY State AS LONG

 

Data Type

LONG        Value of AdoObjectState Enum

 

 

Note

 

The object's State property can have a combination of values. For example, if a statement is executing, this property will have a combined value of adStateOpen and adStateExecuting. If a recordset is fetching rows this property will have a combined value of adStateOpen and adStateFetching.

 

See Also

 

AdoConnection, AdoObjectStateEnum, AdoCommand:State, AdoRecordset:State