Implementing Feature Events

You can use Feature events to manage a Feature life cycle by triggering events during Feature activation and Feature deactivation. Through Feature events, you can more succinctly manage the Feature life cycle by choosing to have certain events occur throughout each stage of Feature deployment, such as when one of the following actions are attempted for a Feature:

  • Installed

  • Activated

  • Deactivated

  • Uninstalled

For example, you might have dates of company events throughout the year that you want deployed to your SharePoint sites, but only for the period leading up to each event. You can create a Feature and use Feature events to deploy event details to sites or a specific site when that Feature is activated, and then remove those ...

Get Microsoft® Office SharePoint® Server 2007 Administrator's Companion now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.