Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SPRelationshipDeleteBehavior Enumeration

Defines the type of behavior that happens when you delete a parent itemof two related lists.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

[SubsetCallableTypeAttribute]
[ClientCallableTypeAttribute(Name = "RelationshipDeleteBehaviorType")]
public enum SPRelationshipDeleteBehavior

Member nameDescription
NoneNothing happens when a parent item is deleted and the child item is left pointing to the parent as an orphan.
CascadeA cascade delete happens when deleting a parent item deletes all relatedchildren items of the related list.
RestrictRestricts a parent item having any children items in the related list from being deleted.
Show:
© 2015 Microsoft