MFSearchBuilderFind Method

Executes an object search in the vault with the current conditions.

Definition

Namespace: MFiles.VAF.Common
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public ObjectSearchResults Find(
	MFSearchFlags searchFlags = MFSearchFlags.MFSearchFlagDisableRelevancyRanking,
	bool sort = false,
	int maxResults = 0,
	int searchTimeoutInSeconds = 60
)

Parameters

searchFlags  MFSearchFlags  (Optional)
Search flags for the search operation.
sort  Boolean  (Optional)
Indicates whether the results should be sorted by the server.
maxResults  Int32  (Optional)
The maximum number of results to return (0 means unlimited)
searchTimeoutInSeconds  Int32  (Optional)
The timeout in seconds for the search operation (0 means infinite).

Return Value

ObjectSearchResults
The results of the search.

See Also