共用方式為


SPWeb.EventHandlersEnabled property

NOTE: This API is now obsolete.

取得布林值,這個值,指出是否可以在網站上使用Windows SharePoint Services 2.0事件處理常式。

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

Syntax

'宣告
<ObsoleteAttribute("Use V3 style events")> _
Public ReadOnly Property EventHandlersEnabled As Boolean
    Get
'用途
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如果您啟用Windows SharePoint Services 2.0事件處理常式。否則, false。這個值沒有對應到Windows SharePoint Services 3.0事件。

請參閱

參照

SPWeb class

SPWeb members

Microsoft.SharePoint namespace