Accessing Information with the Feature Object Model

SharePoint Server 2007 exposes a Feature object model that you can use to programmatically access Feature collections and extract information on Feature deployment, such as showing all activated Features within a given scope.

More Info

For full details about Feature classes, see the "Feature Object Model" topic in the Windows SharePoint Services 3.0 Software Development Kit.

The following example displays a list of activated Feature names and GUIDs on the root site of a site collection, using the Feature class SPFeatureCollection: The first section of code sets the context for the current site collection and specifies the root web of the site collection as the site against which to check for activated ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.