Setting Provider Service Defaults

OLE DB Programmer's Reference

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)

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