2.2.3.13 With Specific Words
The template for a search that finds messages containing certain words has the following characteristics and settings:
Template ID: 14
Folders excluded: Sync Issues folder ([MS-OXOSFLD] section 2.2.1), Deleted Items folder, Junk E-mail folder, Outbox folder, Drafts folder <6>
Items excluded: Appointments, contacts, distribution lists, journal items, sticky notes, tasks
Value of the PidTagSearchFolderStorageType property (section 2.2.1.2.6): 0x0000004A (flags B, E, and G)
The affected fields of the PidTagSearchFolderDefinition property (section 2.2.1.2.8) are as follows:
FolderList2: An EntryList structure ([MS-OXCDATA] section 2.3.1) that contains the folders to be searched. This will include all mailbox folders, except the ones specifically excluded by this template.
SearchRestriction: A Restriction structure (section 2.2.1.2.8.2) that describes messages containing certain words.
TextSearch: A string that specifies the words for which to search.