Article ID: 166083 - View products that this article applies to.
This article was previously published under Q166083
This article describes how to enable ODBC connection pooling in an OLE DB application.
An OLE DB application can enable ODBC connection pooling if the OLE DB application is using the OLE DB provider for ODBC. The OLE DB application that uses the ODBC provider is like an ODBC application because the ODBC provider internally calls the ODBC API to perform data manipulation.
The ODBC provider does not expose any property to allow an OLE DB application to enable connection pooling. In order to enable connection pooling, the OLE DB application needs to use the ODBC API to enable connection pooling before using the ODBC provider. Because connection pooling is a process-level attribute, any subsequent connection made through the ODBC provider will be using connection pooling.
The following code demonstrates how an OLE DB application can enable connection pooling:
Article ID: 166083 - Last Review: March 18, 2004 - Revision: 2.0
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
Contact us for more help