SPRelatedField.RelationshipDeleteBehavior property

Gets the delete behavior defined by the lookup field in the child list.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public SPRelationshipDeleteBehavior RelationshipDeleteBehavior { get; }

Property value

Type: Microsoft.SharePoint.SPRelationshipDeleteBehavior
An enumeration value that defines a data integrity relationship between a source list and a dependent list that contains fields that lookup to fields in the source list.