ActiveX Data Objects API and Scripts

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 ActiveX Data Objects (ADO) API provides the Connection, Command, and Recordset objects for accessing and manipulating data from the OLE DB Provider for Indexing Service. Of these objects, an Indexing Service script typically uses only the Recordset object to represent the set of records that results from a query submitted by means of the Query Helper API (see Query Helper API and Scripts).

The following table shows how to use the Query.CreateRecordset method to create a Recordset object in scripts.

Object Creation in VBScript Creation in JScript
Recordset Set objRecordset = objQuery.CreateRecordset("sequential") objRecordset = objQuery.CreateRecordset("sequential");

 

The msad*.dll files contain the ADO objects.