The SearchTemplateFolder type exposes the following members.
Properties
Type | Name | Description |
---|---|---|
![]() | ExcludeFromQuery |
Indicates whether any folders in the search template are to be excluded at runtime.
Enter a bool value of false or null if no
folders in the search template are to be excluded at runtime; true if
one or more folders are to be excluded at runtime.
|
![]() | Folder |
Specifies a folder to be available at runtime. The folder specified will override a folder in the
search template having the same ID. If a folder is specified that does not exist in the search template,
it is assumed to be a new folder that is to be added to the query. All properties for this instance must be
specified if a new folder is being added to the query.
If null, no change is made to the search template. |
![]() | ItemId |
Specifies the GUID of a folder in the search template to be modified or excluded, or the GUID of a new folder to
be added to the search. This is a required property.
Note: If a new folder is being added to the search, all properties for this instance must be set or an exception will be thrown. |
![]() | SearchSubFolders |
Specifies whether subfolders of the folder are to be included in the search. The value specified here
overrides the search subfolders value in the search template. If null, no change is made to the
search template.
If a new folder item is being added to the query, this property is required. |