IixssoQuery interface

[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 object of Indexing Service supports methods and properties that allow you to formulate a query and define an ActiveX Data Objects (ADO) recordset to manage and display the results of the query.

The programmatic identifier (ProgID) for the query object is the literal value IXSSO.Query.2. The version-independent ProgID is IXSSO.Query.

Members

The IixssoQuery interface inherits from the IDispatch interface. IixssoQuery also has these types of members:

Methods

The IixssoQuery interface has these methods.

Method Description
AddScopeToQuery Adds a search path to a query.
CreateRecordset Execute the query, creating an OLE DB results table or an Microsoft ActiveX Directory Object.
DefineColumn Defines a column to be used in the query.
OnStartPage Reserved for internal use.
QueryToURL Creates the query string portion of a URL from the the internal state of the query properties.
Reset Clears the state of the query object.
SetQueryFromURL Sets Query and other properties from the query string.

 

Properties

The IixssoQuery interface has these properties.

Property Access type Description
AllowEnumeration
Read/write
Indicates whether enumeration is allowed.
Catalog
Read/write
The index catalog name.
CiFlags
Read-only
The flags. This is a deprecated property; use AddScopeToQuery instead.
CiScope
Read-only
The catalog path. This is a deprecated property; use AddScopeToQuery instead.
CodePage
Read/write
The character set code page.
Columns
Read/write
The list of columns available for OLE DB recordset retrieval for query results.
Dialect
Read/write
The query language version.
GroupBy
Read/write
The choice for grouping.
LocaleID
Read/write
The language locale ID (LCID) to be used when executing the query.
MaxRecords
Read/write
The maximum number of records to be retrieved.
OptimizeFor
Read/write
Controls whether queries are optimized for better performance or for a greater number of hits.
OutOfDate
Read-only
Indicates whether the content index is out of date.
Query
Read/write
The query string, also known as the restriction.
QueryIncomplete
Read-only
Indicates whether the query could be resolved using the Content Index.
QueryTimedOut
Read-only
Indicates whether the query exceeded time limit for execution.
ResourceUseFactor
Read/write
Reserved for internal use.
SortBy
Read/write
The choice for sorting.
StartHit
Read/write
Reserved for internal use.

 

Requirements

Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
End of client support
Windows 7
End of server support
Windows Server 2008 R2
DLL
Ixsso.dll