Oracle® WebCenter Interaction Development Kit 10.3.3.0.0

IPortalSearchRequest.SetDocFoldersToSearch Method 

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

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

Parameters

folders
An array of doc folder ids.
includeSubfolders
whether to search subfolders.

Remarks

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

Exceptions

Exception Type Condition
InvalidOperationException includeSubfolders is set differently for doc and admin folders.
ArgumentException One or more of the folder IDs are negative.

See Also

IPortalSearchRequest Interface | Plumtree.Remote.PRC.Search Namespace