OLE DB Objects Used by Indexing Service
Note
Indexing Service is no longer supported as of Windows XP and is unavailable for use as of Windows 8. Instead, use Windows Search for client side search and Microsoft Search Server Express for server side search.
The OLE DB Provider for Indexing Service uses the following OLE DB objects.
Data Source Object (DSO)
DSOs connect to Indexing Service as a data source and allow the creation of Session objects.
Session Object
Session objects establish the context for sessions and allows the creation of Command objects and Rowset objects.
Command Object
Command objects represent commands given to the data source to allow execution of a text command. The result of executing a text command for Indexing Service is a Rowset object. For a list of interfaces implemented for Command objects, refer to the Interfaces section. Note that the ICommandTree interface, unique to this OLE DB provider, allows you to express queries in a hierarchical fashion similar to the ICommandText features.
Rowset Object
Rowset objects represent data in a table. For a list of interfaces implemented for Rowset objects, refer to the Interfaces section.
Error Object
Error objects represent errors that occur during an operation on any of the other objects.
Simply put, Indexing Service uses the OLE DB object model to manipulate the indexes as a data source. The query string is similar to command text in a hierarchical form to facilitate matching hits against the index. The resulting hits are displayed as rows in a table that can support a variety of navigation movements, including scrolling forward and backward, and direct positioning with bookmarks. The IAccessor interface on the Rowset object allows you to map command text variables to the resulting Rowset columns.