DBPROP_CONNECTIONSTATUS

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_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.

1998-2001 Microsoft Corporation. All rights reserved.



Microsoft Ole Db 2.0 Programmer's Reference and Data Access SDK
Microsoft OLE DB 2.0 Programmers Reference and Data Access SDK (Microsoft Professional Editions)
ISBN: 0735605904
EAN: 2147483647
Year: 1998
Pages: 1083

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net