Retrieves an interface pointer to the collection of all versions of the current object.
HRESULT get_ObjectVersions(
IVersionCol **ppObjVersions
);
Parameters
Return Value
S_OK
The method completed successfully.
This method failed to complete successfully.
Remarks
Within the returned collection, 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.