Database :: lastMajorVersion - Last major version
The property contains the version number for the last major version. This is not the current access version set for the object space. For any kind of non-managed versioning the function returns 0.
Return value: Major version number ( int32 )
Major versions are defined on database level. database versions are numbered consecutively beginning with 0, when consistent versioning has been enabled.