Access to Repository object versions is supported at both the COM level and the Automation level. Given a specific version of a Repository object, you can perform the operations listed below.
To | Use |
Create the first object version | The CreateObject method of the IRepository interface |
Create subsequent object versions | The CreateVersion method of the IrepositoryObjectVersion interface |
Determine which predecessor version was the creation version | The PredecessorCreationVersion method of the IrepositoryObjectVersion interface |
Determine how this version of the current object was resolved | The ResolutionType method of the IrepositoryObjectVersion interface |
Freeze an object version | The FreezeVersion method of the IrepositoryObjectVersion interface |
Retrieve the object-version identifier of an object version | The VersionID property of the IrepositoryObjectVersion interface |
Retrieve the state of an object version | The IsFrozen method of the IrepositoryObjectVersion interface and the IsCheckedOut method of the IWorkspaceItem interface |
Merge the contents of another object version into the current object version | The MergeVersion method of the IrepositoryObjectVersion interface |
For More Information See the Repository Automation Reference or the "Repository COM Reference" section of the Repository Reference.