SPEventReceiverDefinition.Delete method

Deletes the event receiver registration.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub Delete
'Usage
Dim instance As SPEventReceiverDefinition

instance.Delete()
public void Delete()

Remarks

Event handlers are registered at the site or site collection level.

See also

Reference

SPEventReceiverDefinition class

SPEventReceiverDefinition members

Microsoft.SharePoint namespace

SPSite

SPWeb

SPXmlDocumentCollection