VersionMajor: Integer;
The VersionMajor property returns a number of the main repository version.
Execute the FetchVersion method to receive the version.
The example of use is given in description of the IRepositoryScriptManager.FetchVersion method.
See also: