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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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.