Delete Propagation After Removing an Origin Target Version

Meta Data Services Programming

Meta Data Services Programming

Delete Propagation After Removing an Origin Target Version

If you remove an object version from the TargetVersions collection of a delete-propagating destination relationship, the repository engine considers performing a propagated deletion.

Delete propagation always occurs from the origin object toward a destination object. Thus, in this situation, the repository engine considers performing a propagated deletion on the object version that was the source of the relationship whose TargetVersions collection you modified. The repository engine performs a propagated deletion on the source object version if all of the following conditions hold:

  • The item you removed was the last item in its TargetVersions collection.

  • The source object version has no other destination relationship of the same type as the destination relationship whose TargetVersions collection you modified.

  • The source object satisfies the basic requirements for object-version deletion. For more information, see Requirements for Object-Version Deletion.

See Also

Propagating Deletes