ObjectSpace :: majorAccessVersion - Major version number for access version currently set
The function returns the major version number for the currently selected version of the object space (current major version). When the versioning mode for the database is not managed, the function returns -1 .
The function throws an exception, when the object space handle is not valid.
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.
Implementation details
int32
ObjectSpace  :: majorAccessVersion (  )
The function returns the major version number for the currently selected access version. The function requires one of the managed versioning modes. When the database handle is not valid or when the versioning mode is not managed, the function throws an exception.