SPWebApplication.EventHandlersEnabled property
NOTE: This API is now obsolete.
Gets or sets a value indicating whether to enable event handlers for the Web application.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<ObsoleteAttribute("Use V3 style events")> _
Public Property EventHandlersEnabled As Boolean
Get
Set
'Usage
Dim instance As SPWebApplication
Dim value As Boolean
value = instance.EventHandlersEnabled
instance.EventHandlersEnabled = value
[ObsoleteAttribute("Use V3 style events")]
public bool EventHandlersEnabled { get; set; }
Property value
Type: System.Boolean
true to enable event handlers; otherwise, false. The default value is false.