AdoConnection:State Access

<< Click to Display Table of Contents >>

Navigation:  Ado Classes > AdoConnection Class >

AdoConnection:State Access

Previous pageReturn to chapter overviewNext page

Purpose

 

Is the object open or closed.

 

Prototype

 

 

ACCESS State AS LONG PASCAL CLASS AdoConnection

 

Return

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