getUserPatchVersion():Integer64;
The getUserPatchVersion method of the DbFile class returns the unformatted current value of the version number of user data map files. You can use this method to determine whether a patch has been applied.
You can set and retrieve a version number from user schema files (for example, _userdev.dat) represented by the DbFile class Kind_User_Schema constant and user data files (for example, _rootdef.dat, locktest.dat, _sindexes.dat,and so on) represented by the DbFile class Kind_User_Data constant. This enables system administrators to optionally assign a version number to user map files.
If a user data version number is not set, this method returns zero (0).