Query Helper 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 Query Helper API provides the Query and Utility objects for creating and managing queries to the OLE DB Provider for Indexing Service. A script can use these objects along with a Microsoft ActiveX Data Objects (ADO) Recordset object (see ActiveX Data Objects API and Scripts), which represents the resulting records from a query.
The following table shows how to create a Query object and a Utility object in scripts.
Object | Creation in VBScript | Creation in JScript |
---|---|---|
Query | Set objQuery = WScript.CreateObject("IXSSO.Query") |
objQuery = new ActiveXObject("IXSSO.Query"); |
Utility | Set objUtility = WScript.CreateObject("IXSSO.Util") |
objUtility = new ActiveXObject("IXSSO.Util"); |
The Ixsso.dll file contains the objects of the Query Helper API.