SPFarm events

The SPFarm type exposes the following members.

Events

  Name Description
Public eventStatic member ObjectChanged Raised after any configuration object in the system that is above the level of a site collection (SPSite) is changed. 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.
Public eventStatic member ObjectCreated 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.
Public eventStatic member ObjectDeleted Raised after any configuration object in the system above the level of a site collection (SPSite) is deleted. 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.
Public eventStatic member ObjectsRestored Raised after any configuration object in the system above the level of a site collection (SPSite) is restored. 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.

Top

See also

Reference

SPFarm class

Microsoft.SharePoint.Administration namespace