Removing EventReceivers from SharePoint 2007

August 7th, 2008

I’ve updated my tool

  • Allows you to un-attach event receivers from SharePoint lists WARNING: You do this at your own risk, the tool currently will not allow you to reattach them! Of course….It warns you first!
  • Highlights Microsoft events (handy so you can see non-default events).
  • Outputs to a local log file (if you click the checkbox).

You can get it here

For point of reference the code used to remove EventReceivers in Sharepoint API:

SPEventReceiverDefinition theEvent = list.EventReceivers[item GUID];
theEvent.Delete();
list.Update();

Tags:
Posted in Sharepoint | No Comments »

Comments

Leave a Reply

 Comment Form