SPWebApplication.EventHandlersEnabled property
SharePoint 2013
NOTE: This API is now obsolete.
Gets or sets a value indicating whether to enable event handlers for the Web application.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Property value
Type: System.Booleantrue to enable event handlers; otherwise, false. The default value is false.