M-Files API 23.11.13135.0
GetValueListItemsEx2 Method
VaultValueListItemOperations Object : GetValueListItemsEx2 Method
When using M-Files API in client mode, the "ReplaceCurrentUserWithCallersIdentity" parameter must always be set to true.
Specifies the property definition the filter of which should be applied to the list (-1 for none).
Description
Gets the value list items of a value list.
Syntax
Visual Basic
Public Function GetValueListItemsEx2( _
   ByVal ValueList As Long, _
   Optional ByVal UpdateFromServer As Boolean = False, _
   Optional ByVal RefreshTypeIfExternalValueList As MFExternalDBRefreshType = MFExternalDBRefreshTypeNone, _
   Optional ByVal ReplaceCurrentUserWithCallersIdentity As Boolean = True, _
   Optional ByVal PropertyDef As Long = -1 _
) As ValueListItems
Parameters
ValueList
UpdateFromServer
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.
ReplaceCurrentUserWithCallersIdentity
When using M-Files API in client mode, the "ReplaceCurrentUserWithCallersIdentity" parameter must always be set to true.
PropertyDef
Specifies the property definition the filter of which should be applied to the list (-1 for none).
See Also

VaultValueListItemOperations Object  | VaultValueListItemOperations Members