IRepositoryObjectVersion::get_ObjectVersions

Meta Data Services Programming

Meta Data Services Programming

IRepositoryObjectVersion::get_ObjectVersions

This method 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 Values

This method failed to complete successfully.

Remarks

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 object version, use IRepositoryObjectVersion::CreateVersion.

See Also

IRepositoryObjectVersion Interface

IRepositoryObjectVersion::CreateVersion