Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IPortalSearchRequest.SetAdminFoldersToSearch Method 

Restricts the set of admin folders searched to the specified admin folders.

void SetAdminFoldersToSearch(
   int[] folders,
   bool includeSubfolders
);

Parameters

folders
array of admin folder ids
includeSubfolders
whether to search subfolders

Remarks

This method does not restrict the set of doc folders searched. If this method is not called, all admin folders will be searched.

Exceptions

Exception Type Condition
InvalidOperationException if includeSubfolders is set differently for doc vs admin folders
ArgumentException if any of the folder IDs are negative

See Also

IPortalSearchRequest Interface | Plumtree.Remote.PRC.Search Namespace