Table of contents
TOC
Collapse the table of content
Expand the table of content

SearchFolders Object (Office)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

A collection of ScopeFolder objects that determines which folders are searched.

Remarks

For each application there is only a single SearchFolders collection. The contents of the collection remains after the code that calls it has finished executing. Consequently, it is important to clear the collection unless you want to include folders from previous searches in your search.

You can use the Add method of the SearchFolders collection to add a ScopeFolder object to the SearchFolders collection, however, it is usually simpler to use the AddToSearchFolders method of the ScopeFolder that you want to add, as there is only one SearchFolders collection for all searches.

Methods

Name
Add
Remove

Properties

Name
Application
Count
Creator
Item

See also

Other resources

Object Model Reference

© 2017 Microsoft