Searches the vault for objects that match the specified conditions.
The maximum number of results to return. Use the value "0" to return an unlimited number of results.
Visual Basic |
---|
Public Function SearchForObjectsByConditionsEx( _ ByVal SearchConditions As SearchConditions, _ ByVal SearchFlags As MFSearchFlags, _ ByVal SortResults As Boolean, _ Optional ByVal MaxResultCount As Long = 500, _ Optional ByVal SearchTimeoutInSeconds As Long = 60 _ ) As ObjectSearchResults |
Value | Description |
---|---|
MFSearchFlagDisableRelevancyRanking | Search results are not sorted according to their relevancy. |
MFSearchFlagIncludeUnmanagedObjects | Include unmanaged objects in the search results. |
MFSearchFlagLookAllObjectTypes | Perform a separate search for each object type and merges the results. |
MFSearchFlagLookInAllVersions | Orders to look for matches in all object versions. By default, only the latest object versions are included in the search. |
MFSearchFlagNone | No flags. |
MFSearchFlagResultsFromEachRepository | Limits the search results per search location instead of limiting the total number of results from all vaults and repositories. This ensures that the search results include items from all search locations with search hits. |
MFSearchFlagReturnLatestVisibleVersion | Orders to return the latest version for each object, regardless of whether it is an actual matching version. This flag is effective only if MFSearchFlagLookInAllVersions is on. |
The maximum number of results to return. Use the value "0" to return an unlimited number of results.