IRepositoryObjectVersion::get_SuccessorVersions
This method retrieves an interface pointer to the collection of all successor versions of the current object version.
HRESULT get_SuccessorVersions(
IVersionCol **ppSuccVersions
);
Parameters
**ppTargetVersions
[out]
The IVersionCol interface pointer for the collection of successor object versions.
Return Value
S_OK
The method completed successfully.
This method failed to complete successfully.
Remarks
This method returns only the immediate successors of the current object version.
If the current object version has no successors, this method returns an empty collection.
Within the returned collection, the repository engine sequences the items in order of their creation, with the oldest object version first.
You cannot modify the collection. To add a new successor to the current object version, use IRepositoryObjectVersion::CreateVersion.