IRepositoryObjectVersion::get_PredecessorCreationVersion

Meta Data Services Programming

Meta Data Services Programming

IRepositoryObjectVersion::get_PredecessorCreationVersion

This method retrieves an interface pointer to the predecessor object version from which the current object version was created.

HRESULT get_PredecessorCreationVersion(     IRepositoryObjectVersion **ppPredCreationVersion
);

Parameters

**ppPredCreationVersion

[out]
The IRepositoryObjectVersion interface pointer for the object version from which the current object version was created.

Return Value

S_OK

The method completed successfully.

Error Values

This method failed to complete successfully.

Remarks

If you invoke this method for the first version of an object, it returns an error.

See Also

IRepositoryObjectVersion Interface