The FolderMustHaveRegex parameter restricts the content that is retrieved by the connector. The path of a folder must match the regular expression, or the folder and its subfolders are not retrieved. This means that for a file to be retrieved the paths of all folders above it in the hierarchy must contain a match to the regular expression.
The following example causes the connector to retrieve folders only where the path ends with the word Folder.
| Type: | Regular Expression |
| Default: | |
| Required: | No |
| Configuration Section: | TaskName or FetchTasks or Default |
| Example: | FolderMustHaveRegex=.*Folder
|
| See Also: |
|
|