IRepositoryObjectVersion::get_ObjectVersions

See Also

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, 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.

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.