SPBusinessDataField.OnDeleting Method
Handles the event that occurs when a field is being deleted.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Overrides Sub OnDeleting
'Usage
Dim instance As SPBusinessDataField
instance.OnDeleting()
public override void OnDeleting()
Remarks
This override deletes all the related fields and unneeded secondary fields for this field before deleting this field.