共用方式為


SPEventReceiverBase.EventFiringDisabled property

NOTE: This API is now obsolete.

布林值會宣告是否引發事件不是目前已啟用或停用的屬性。

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

Syntax

'宣告
<ObsoleteAttribute("Use EventFiringEnabled")> _
Protected ReadOnly Property EventFiringDisabled As Boolean
    Get
'用途
Dim value As Boolean

value = Me.EventFiringDisabled
[ObsoleteAttribute("Use EventFiringEnabled")]
protected bool EventFiringDisabled { get; }

Property value

Type: System.Boolean
如果事件引發目前已停用,則傳回Booleantrue 。

備註

使用這個屬性來確認狀態的事件引發 – 是啟用或停用 – 當您必須以程式設計方式啟用或停用即時事件引發時執行各種作業。

請參閱

參照

SPEventReceiverBase class

SPEventReceiverBase members

Microsoft.SharePoint namespace