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:

  • DBPROPVAL_CS_INITIALIZED ? The data source object is in an initialized state and able to communicate with the data store.

  • DBPROPVAL_CS_COMMUNICATIONFAILURE ? The data source object is unable to communicate with the data store.

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.

See Also

Reference

Properties (Alphabetical)