Compartilhar via


Creating a Query in Visual Basic Scripting Edition

[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 VBSQuery.vbs script of the SQuery Sample executes a query that is embedded in the script. The query produces a parent, chaptered Recordset object (which represents a hierarchical rowset) with selected columns forming a child chapter. This script is also translated into the JScript language. For a discussion of the JScript version, see Creating a Query in JScript.

The following list divides the sample script into segments and shows the structure of the complete script. The individual topic for each segment describes the details of the code for that segment.