Meta Data Services Programming
Requirements for Object-Version Deletion
The following restrictions apply to object-version deletion:
- If the object version has any successor, it cannot be deleted.
- If the object version is a member of a TargetVersions collection of an origin relationship, and that relationship's source object version is unchangeable, it cannot be deleted. For more information, see Requirements for Changing an Object Version.
If a to-be-deleted object version does not satisfy these requirements, the repository engine does not necessarily return an error. If you are explicitly deleting the object version with the Delete method, the method fails and returns an error. However, if the repository engine is automatically attempting to delete the object version during delete propagation, it does not return an error. Instead, the engine continues to evaluate other object versions as candidates for propagated deletions.