Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IPortalSearchRequest.SetObjectTypesToSearch Method 

Restricts the search to the specified ObjectClasses.

void SetObjectTypesToSearch(
   ObjectClass[] classes
);

Parameters

classes
array of ObjectClasses to search

Remarks

If this method is not called, all supported ObjectClasses will be searched. Supported ObjectClasses are Documents, Doc Folders, Users, and Communities.

Exceptions

Exception Type Condition
ArgumentException if unsupported ObjectClasses are included

See Also

IPortalSearchRequest Interface | Plumtree.Remote.PRC.Search Namespace