Freigeben über


OLE DB Services

OLE DB provides common services to enhance the native functionality and performance of OLE DB providers. These services include the Client Cursor Engine, which enables OLE DB consumers to scroll or find over the rowsets of providers that do not natively support such functionality, as well as performance and scaling features such as resource pooling and automatic transaction enlistment within a Microsoft? Windows NT?/Windows? 2000 Component Services (or Microsoft Transaction Server, if you are using Windows NT) environment.

OLE DB services are automatically enabled when a consumer invokes a provider by calling an IDataInitialize or IDBPromptInitialize method. Consumers can also enable OLE DB services by calling CoCreateInstance, passing the CLSID of the OLE DB Initialization Component as an argument. (OLE DB services cannot be enabled by calling CoCreateInstance to invoke the provider based on the provider's CLSID.) For more information, see Creating Data Source Objects.

The following sections describe OLE DB resource pooling and explain how to use it and other services in OLE DB providers and consumers:

This topic is a part of: