M-Files API 22.6.11519.0
GetFolderNameListing Method
VaultViewOperations Object : GetFolderNameListing Method
Description
Gets the folder names inside a folder specified by the property conditions.
Syntax
Visual Basic
Public Function GetFolderNameListing( _
   ByVal ExpressionEx As ExpressionEx, _
   ByVal SearchConditions As SearchConditions, _
   ByVal SearchFlags As MFSearchFlags, _
   ByVal SortResults As Boolean _
) As FolderNameListing
Parameters
ExpressionEx
SearchConditions
SearchFlags
ValueDescription
MFSearchFlagDisableRelevancyRankingSearch results are not sorted according to their relevancy.
MFSearchFlagIncludeUnmanagedObjectsInclude unmanaged objects in the search results.
MFSearchFlagLookAllObjectTypesPerform a separate search for each object type and merges the results.
MFSearchFlagLookInAllVersionsOrders to look for matches in all object versions. By default, only the latest object versions are included in the search.
MFSearchFlagNoneNo flags.
MFSearchFlagResultsFromEachRepositoryLimits 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.
MFSearchFlagReturnLatestVisibleVersionOrders 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.
SortResults
Remarks
This method is available only if M-Files API is used in the server interface mode.
See Also

VaultViewOperations Object  | VaultViewOperations Members