Partilhar 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)
Available in Sandboxed Solutions: No

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