SPEventReceiverBase.EventFiringDisabled Property

NOTE: This API is now obsolete.

Boolean property that announces whether event firing is currently enabled or disabled.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Available in SharePoint Online

[ObsoleteAttribute("Use EventFiringEnabled")]
protected bool EventFiringDisabled { get; }

Property Value

Type: System.Boolean
Returns Booleantrue if event firing is currently disabled.

Use this property to confirm the state of event firing – either enabled or disabled – when you must programmatically enable or disable event firing on the fly when executing various operations.