Microsoft OLE DB 2.0 Programmers Reference and Data Access SDK (Microsoft Professional Editions)
| OLE DB Programmer's Reference |
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_INITIALIZEDThe data source object is in an initialized state and able to communicate with the data store.
- DBPROPVAL_CS_COMMUNICATIONFAILUREThe 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.
1998-2001 Microsoft Corporation. All rights reserved.