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)
Syntax
'Declaration
Public ReadOnly Property RelationshipDeleteBehavior As SPRelationshipDeleteBehavior
Get
'Usage
Dim instance As SPRelatedField
Dim value As SPRelationshipDeleteBehavior
value = instance.RelationshipDeleteBehavior
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.