QUERY_* Scope Constants
[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.]
Specifies scope depths and scope restriction paths. You can combine these flags by choosing one value from the first pair (QUERY_SHALLOW or QUERY_DEEP) and one value from the second pair (QUERY_PHYSICAL_PATH or QUERY_VIRTUAL_PATH).
Constant/value | Description |
---|---|
|
Only files in the scope directory are included in the results. Cannot be combined with QUERY_DEEP. |
|
Files in the scope directory and all subdirectories are included in the results. Cannot be combined with QUERY_SHALLOW. |
Constant/value | Description |
---|---|
|
The scope is a physical directory. Cannot be combined with QUERY_VIRTUAL_PATH. |
|
The scope is a virtual (Internet Information Services) directory. Cannot be combined with QUERY_PHYSICAL_PATH. |
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 |
Header |
|
See also