Partilhar via


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

Syntax

'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property RelationshipDeleteBehavior As SPRelationshipDeleteBehavior
    Get
'Usage
Dim instance As SPRelatedField
Dim value As SPRelationshipDeleteBehavior

value = instance.RelationshipDeleteBehavior
[ClientCallableAttribute]
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.

See Also

Reference

SPRelatedField Class

SPRelatedField Members

Microsoft.SharePoint Namespace

RelationshipDeleteBehavior