Compartilhar via


FieldLookup.RelationshipDeleteBehavior Property

Gets or sets a value that specifies the delete behavior of the lookup field.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Property RelationshipDeleteBehavior As RelationshipDeleteBehaviorType
    Get
    Set
'Usage
Dim instance As FieldLookup
Dim value As RelationshipDeleteBehaviorType

value = instance.RelationshipDeleteBehavior

instance.RelationshipDeleteBehavior = value
[RemoteAttribute]
public RelationshipDeleteBehaviorType RelationshipDeleteBehavior { get; set; }

Property Value

Type: Microsoft.SharePoint.Client.RelationshipDeleteBehaviorType
Returns a RelationshipDeleteBehaviorType instance representing the delete behavior of the lookup field.

Exceptions

Exception Condition
[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.

See Also

Reference

FieldLookup Class

FieldLookup Members

Microsoft.SharePoint.Client Namespace