Share via


Command Properties

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 properties of Command objects provide a way to pass on information that is necessary when the command is executing. Command properties for OLE DB objects usually identify properties that must be supported by the rowsets that are created as a result of executing the command text. In Indexing Service, the command properties specify where the query is to be executed: which machine name, catalog name, and the scope within the catalog to use. Other properties can be identified to further control the query resolution process. The additional properties include the following.

DBPROP_USEEXTENDEDDBTYPES

Resulting rowsets should use PROPVARIANT types.

DBPROP_USECONTENTINDEX

Force use of content (and not property) index only.

For other properties, see Extended OLE DB Properties.

Helper functions CICreateCommand and CIMakeICommand create Command objects and set their properties. The Simple sample (QSample) has additional examples of command property use.