M-Files API 23.11.13135.0
GetLatestObjVerEx Method
VaultObjectOperations Object : GetLatestObjVerEx Method
The object identifier.
If this parameter is true, the version that is currently checked out for the user should be considered to be the latest version. If this parameter is false, the latest version on the server is returned. Note that even if this parameter is true, the method never returns a version that is checked out to some other user.
True if the information should be always updated from the server.
True if M-Files windows should be notified to update the object in their listings.
Description
Gets the latest version of the specified object. Optionally notifies M-Files windows to update the object in their listings.
Syntax
Visual Basic
Public Function GetLatestObjVerEx( _
   ByVal ObjID As ObjID, _
   ByVal AllowCheckedOut As Boolean, _
   Optional ByVal UpdateFromServer As Boolean = False, _
   Optional ByVal NotifyViews As Boolean = False _
) As ObjVer
Parameters
ObjID
The object identifier.
AllowCheckedOut
If this parameter is true, the version that is currently checked out for the user should be considered to be the latest version. If this parameter is false, the latest version on the server is returned. Note that even if this parameter is true, the method never returns a version that is checked out to some other user.
UpdateFromServer
True if the information should be always updated from the server.
NotifyViews
True if M-Files windows should be notified to update the object in their listings.
See Also

VaultObjectOperations Object  | VaultObjectOperations Members