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

Syntax

'Declaration
<ObsoleteAttribute("Use EventFiringEnabled")> _
Protected ReadOnly Property EventFiringDisabled As Boolean
    Get
'Usage
Dim value As Boolean

value = Me.EventFiringDisabled
[ObsoleteAttribute("Use EventFiringEnabled")]
protected bool EventFiringDisabled { get; }

Property Value

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

Remarks

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.

See Also

Reference

SPEventReceiverBase Class

SPEventReceiverBase Members

Microsoft.SharePoint Namespace