FolderMustHaveRegexToCrawl
A regular expression to restrict the folders that are processed.
Folders with paths that match the regular expression are processed. If a folder’s path does not match this regular expression, everything inside the folder is excluded.
Because subfolders of folders excluded by this parameter do not need to be processed at all, using this parameter to exclude parts of folder trees can be more efficient than using FolderMustHaveRegex
.
Type: | Regular Expression |
Default: | |
Required: | No |
Configuration Section: | TaskName or FetchTasks or Default |
Example: | FolderMustHaveRegexToCrawl=^//Top of Information Store($|/Inbox(/.*)?) Only messages from the FolderMustHaveRegexToCrawl=^//Top of Information Store/Inbox/Folder No messages are retrieved. This is because |
See Also: |