共用方式為


SPFarm.ObjectDeleted event

會在刪除網站集合 (SPSite) 的層級上方系統中任何組態物件之後,就會引發。之後,已重新整理快取,但它不會引發如果快取已停用程序在伺服器陣列中的所有電腦上引發此事件。

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

Syntax

'宣告
Public Shared Event ObjectDeleted As SPConfigurationChangeEventHandler
'用途
Dim handler As SPConfigurationChangeEventHandler

AddHandler SPFarm.ObjectDeleted, handler
public static event SPConfigurationChangeEventHandler ObjectDeleted

請參閱

參照

SPFarm class

SPFarm members

Microsoft.SharePoint.Administration namespace