Partager via


DBPROP_CI_SCOPE_FLAGS

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 DBPROP_CI_SCOPE_FLAGS property specifies attributes of the scopes specified for DBPROP_CI_INCLUDE_SCOPES.

Summary

Property Set DBPROPSET_FSCIFRMWRK_EXT
Property ID DBPROP_CI_SCOPE_FLAGS
Value Type DBTYPE_UI4
Default QUERY_DEEP | QUERY_PHYSICAL_PATH

 

QUERY_SHALLOW

Only files in the scope directory are included in the results. Cannot be combined with QUERY_DEEP.

QUERY_DEEP

Files in the scope directory and all subdirectories are included in the results. Cannot be combined with QUERY_SHALLOW.

QUERY_PHYSICAL_PATH

The scope is a physical directory. Cannot be combined with QUERY_VIRTUAL_PATH.

QUERY_VIRTUAL_PATH

The scope is a virtual IIS directory. Cannot be combined with QUERY_PHYSICAL_PATH.

Remarks

When you set a flag using these values, perform the logical OR operation of one of QUERY_SHALLOW or QUERY_DEEP with one of QUERY_PHYSICAL_PATH or QUERY_VIRTUAL_PATH.

If more than one catalog or machine is specified, the DBPROP_MACHINE, DBPROP_CI_CATALOG_NAME, DBPROP_CI_INCLUDE_SCOPES, and DBPROP_CI_SCOPE_FLAGS properties must all have the same number of entries. The exception is that if more than one catalog or machine is specified, the count of scopes and flags can be either the count of catalogs and machines or 1.

When more than one machine or catalog is specified, the query is executed on multiple machines and the results are merged on the local machine.

This property corresponds to the CiFlags variable in the Internet Data Query Files of Indexing Service.