Enabling and Disabling Individual OLE DB Services

OLE DB Programmer's Reference

The OLE DB Service Component Manager compares the properties specified by the consumer to those supported by the provider. By doing so, it determines whether individual service components can be enabled to satisfy extended functionality requested by the consumer. For example, if an application requests a scrollable cursor and the provider supports only a forward-only cursor, the Service Component Manager provides scrolling functionality by enabling the Client Cursor Engine service component. If the consumer relies on extended functionality supported by default on the provider's rowset and the consumer does not explicitly set the properties to request that functionality, the functionality may not appear on the rowset returned by the Client Cursor Engine. To be interoperable, consumers should always set properties to explicitly request extended functionality where needed.

In some cases, providers might need to disable individual OLE DB services to work well with consumers that make assumptions about the characteristics of a provider. OLE DB services can be used to disable individual services or all services, either on a connection-by-connection basis or for all consumers that use a single provider.

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