Share via


SPWeb.EventHandlersEnabled property

NOTE: This API is now obsolete.

Gets a Boolean value that indicates whether Windows SharePoint Services 2.0 event handlers can be used on the site.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<ObsoleteAttribute("Use V3 style events")> _
Public ReadOnly Property EventHandlersEnabled As Boolean
    Get
'Usage
Dim instance As SPWeb
Dim value As Boolean

value = instance.EventHandlersEnabled
[ObsoleteAttribute("Use V3 style events")]
public bool EventHandlersEnabled { get; }

Property value

Type: System.Boolean
true if Windows SharePoint Services 2.0 event handlers are enabled; otherwise, false. This value does not correspond to Windows SharePoint Services 3.0 events.

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace