Partilhar via


SPEventReceiverBase.EventFiringEnabled Property

Gets or sets a value that indicates whether event firing is enabled.

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

Syntax

'Declaration
Protected Property EventFiringEnabled As Boolean
    Get
    Set
'Usage
Dim value As Boolean

value = Me.EventFiringEnabled

Me.EventFiringEnabled = value
protected bool EventFiringEnabled { get; set; }

Property Value

Type: System.Boolean
true if event firing is enabled; otherwise, false.

See Also

Reference

SPEventReceiverBase Class

SPEventReceiverBase Members

Microsoft.SharePoint Namespace