Product Information > JADE Encyclopaedia of Classes – Volume 1 > Chapter 1 - System Classes > getUserPatchVersion

getUserPatchVersion

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, 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; for example, to track changes on Windows Mobile devices running under Compact JADE.

If a user data version number is not set, this method returns zero (0).