SP.FieldLookup.relationshipDeleteBehavior Property
Applies to: SharePoint Foundation 2010
Gets or sets a value that specifies the delete behavior of the lookup field.
var value = SP.FieldLookup.get_relationshipDeleteBehavior();
SP.FieldLookup.set_relationshipDeleteBehavior(value);
Property Value
Type: SP.RelationshipDeleteBehaviorType
Applies To
Exceptions
- [Microsoft.SharePoint.SPException]
The server does not allow properties of the field to be changed. Error code: -2146232832.
- [System.NotSupportedException]
The list that the field belongs to is an external list. Error code: -1.