共用方式為


SPFarm.ObjectCreated Event

Raised after any configuration object in the system above the level of a site collection (SPSite) is created. This event is raised on all computers in the server farm after the caches have been refreshed, but it is not raised if caching is disabled for the process.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Shared Event ObjectCreated As SPConfigurationChangeEventHandler
'Usage
Dim handler As SPConfigurationChangeEventHandler

AddHandler SPFarm.ObjectCreated, handler
public static event SPConfigurationChangeEventHandler ObjectCreated

See Also

Reference

SPFarm Class

SPFarm Members

Microsoft.SharePoint.Administration Namespace