Revision: 50143
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at August 12, 2011 04:55 by nickaranz
Initial Code
class DisabledItemEventsScope : SPItemEventReceiver, IDisposable { bool oldValue; public DisabledItemEventsScope() { this.oldValue = base.EventFiringEnabled; base.EventFiringEnabled = false; } #region IDisposable Members public void Dispose() { base.EventFiringEnabled = oldValue; } #endregion }
Initial URL
http://adrianhenke.wordpress.com/2010/01/29/disable-item-events-firing-during-item-update/
Initial Description
Initial Title
Disable Event Firing anywhere SharePoint 2010
Initial Tags
class
Initial Language
C#