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)

Syntax

'Declaration
Public Enumeration SPRelationshipDeleteBehavior
'Usage
Dim instance As SPRelationshipDeleteBehavior
public enum SPRelationshipDeleteBehavior

Members

Member name Description
None Nothing happens when a parent item is deleted and the child item is left pointing to the parent as an orphan.
Cascade A cascade delete happens when deleting a parent item deletes all relatedchildren items of the related list.
Restrict Restricts a parent item having any children items in the related list from being deleted.

See also

Reference

Microsoft.SharePoint namespace