TimerJobUtility.DisableEventFiring Property
Gets or sets whether to disable the event receiver firing during the execution of the timer job.
Namespace: Microsoft.Office.Server.Utilities
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Property DisableEventFiring As Boolean
Get
Set
'Usage
Dim instance As TimerJobUtility
Dim value As Boolean
value = instance.DisableEventFiring
instance.DisableEventFiring = value
public bool DisableEventFiring { get; set; }
Property Value
Type: System.Boolean
Returns Boolean.
Remarks
Event receivers can add a very significant overhead to updates that are performed by a timer job. Disabling the event receivers will allow a timer job to have much higher throughput.