Setting Provider Service Defaults
Individual OLE DB services can be enabled or disabled by default for all consumers that access a single provider. This is done by adding an OLEDB_SERVICES registry entry under the provider's CLSID, with a DWORD value specifying the services to enable or disable as shown in the following table.
Default services enabled |
DWORD value |
---|---|
All services (default) |
0xffffffff |
All except pooling |
0xfffffffe |
All except pooling and automatic transaction enlistment |
0xfffffffc |
All except Client Cursor Engine |
0xfffffffb |
All except pooling, automatic transaction enlistment, and Client Cursor Engine |
0xfffffff8 |
Pooling and automatic transaction enlistment, session level aggregation only |
0x00000003 |
No services |
0x00000000 |
No aggregation, all services disabled |
(No registry entry) |