M-Files API 22.6.11519.0
SearchForValueListItemsEx Method
VaultValueListItemOperations Object : SearchForValueListItemsEx Method
The value list the items of which to search for.
The search conditions to be used.
If this is set to "true", the search operation is always carried out on the server-side.
Specifies how, if at all, external value lists are updated for this operation.
When using M-Files API in client mode, the "ReplaceCurrentUserWithCallersIdentity" parameter must always be set to true.
Description
Searches for value list items in the specified value list
Syntax
Visual Basic
Public Function SearchForValueListItemsEx( _
   ByVal ValueList As Long, _
   ByVal SearchConditions As SearchConditions, _
   Optional ByVal UpdateFromServer As Boolean = False, _
   Optional ByVal RefreshTypeIfExternalValueList As MFExternalDBRefreshType = MFExternalDBRefreshTypeNone, _
   Optional ByVal ReplaceCurrentUserWithCallersIdentity As Boolean = True _
) As ValueListItemSearchResults
Parameters
ValueList
The value list the items of which to search for.
SearchConditions
The search conditions to be used.
UpdateFromServer
If this is set to "true", the search operation is always carried out on the server-side.
RefreshTypeIfExternalValueList
ValueDescription
MFExternalDBRefreshTypeFullThe full refresh updates all the changes. This operation can take several minutes.
MFExternalDBRefreshTypeNoneNo refresh is performed.
MFExternalDBRefreshTypeQuickThe quick refresh searches for new items and imports them to M-Files.
Specifies how, if at all, external value lists are updated for this operation.
ReplaceCurrentUserWithCallersIdentity
When using M-Files API in client mode, the "ReplaceCurrentUserWithCallersIdentity" parameter must always be set to true.
See Also

VaultValueListItemOperations Object  | VaultValueListItemOperations Members