Use this property to retrieve the major version number of the first Microsoft® Repository engine version that introduced this database format. This is a read-only property. This property is not attached to the default interface for the Repository Automation object; it is attached to the IRepository2 interface. For details on how to access a member of an interface that is not the default interface, see Accessing Automation Object Members.
Set variable = object.MajorDBVersion
The MajorDBVersion property syntax has the following parts.
Part | Description |
Variable | Declared as Long. Receives the database major version. |
Object | The object that represents the open Repository instance. |