MDAC 2.5 SDK - OLE DB Programmer's Reference
Appendix C: OLE DB Properties


 

DBPROP_CONNECTIONSTATUS

Property group: Data Source Information

Property set: DBPROPSET_DATASOURCEINFO

Type: VT_I4

Typical R/W: R

Description: Connection Status

Indicates the status of the current connection. One of the following:

Some providers may have to silently spawn multiple connections to the database to support multiple concurrent command, session, and rowset objects, according to the value of DBPROP_MULTIPLECONNECTIONS. For such providers, DBPROP_CONNECTIONSTATUS refers to the status of the primary connection, which was created when the user called IDBInitialize::Initialize.