How To Use IDataInitialize and Connection String Properties (252348)
The information in this article applies to:
- Microsoft Data Access Components 2.1
- Microsoft Data Access Components 2.5
- Microsoft Data Access Components 2.6
This article was previously published under Q252348 SUMMARY
The IDataInitialize interface can be used to connect to an OLE DB datasource by using a connection string. The IDataInitialize interface is supplied by the OLE DB core components.
When writing an OLE DB provider, it is important for you to know that the IDataInitialize interface looks for certain default OLE DB properties in the connection string and then verifies that the provider supports them.
If the provider does not support default OLE DB properties in the connection string, then the IDataInitialize::GetDataSource() method returns DB_E_ERRORSOCCURRED.
REFERENCES
For more information regarding the IDataInitialize::GetDataSource() method, please refer to the MDAC SDK - OLE DB Programmer's Reference OLE DB Core Components Interfaces
Modification Type: | Minor | Last Reviewed: | 7/13/2004 |
---|
Keywords: | kbDatabase kbhowto kbProvider KB252348 |
---|
|