Retrieves an interface pointer to the collection of all versions of the current object.
HRESULT get_ObjectVersions(
IVersionCol **ppObjVersions
);
Parameters
**ppObjVersions
[out]
The IVersionCol interface pointer for the collection of object versions.
Return Value
S_OK
The method completed successfully.
Error
This method failed to complete successfully.
Remarks
Within the returned collection, the Repository sequences the items in order of their creation, with the oldest object version first.
You cannot modify the collection. To add a new object version, use IRepositoryObjectVersion::CreateVersion.