We recommend using Visual Studio 2017

Enhancing the Simple Read-Only Provider


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Enhancing the Simple Read-Only Provider.

This section shows how to enhance the simple read-only provider created in the previous section. IRowsetLocateImpl creates an implementation for the IRowsetLocate interface and adds bookmark support for you.

When you have a working provider, you might want to enhance it to make the provider update, handle transactions, or enhance the performance of the row-fetching algorithm. Most provider enhancements involve adding an interface to an existing COM object.

The example in the following topics enhances the row-fetching mechanism by adding the IRowsetLocate interface to CAgentRowset. The topics show you how to:

Creating a Simple Read-Only Provider