Policy Feature Overview in SharePoint Server 2010 (ECM)
Applies to: SharePoint Server 2010
A policy feature is an assembly or other piece of code that provides content management functionality to Microsoft SharePoint Server 2010. It can also provide content management functionality to Microsoft Office 2010 client application documents.
Note
If you want to create a policy feature that provides functionality within Office 2010 client applications, you must create the custom code that enforces the policy within the applications, and also deploy that code to the computers running the applications. The policy XML is demoted and stored in client documents, such as Office 2010 documents, as read-only instructions for how to execute the policy. Office 2010 does not handle the deployment of the code that enforces the policy within the Office 2010 client application.
Policy Feature Requirements
Office 2010 requires each policy feature to do the following:
Implement the IPolicyFeature interface.
For more information about the IPolicyFeature interface, see IPolicyFeature Interface Overview (ECM).
Install a valid Policy Feature Definition into the Policy Feature Definition List. You can do this by calling the Add method of the PolicyFeatureCollection class.
This is usually done as part of deploying the policy feature as a SharePoint Foundation Feature. For more information, see Using Features in SharePoint Foundation.
For more information about the policy feature definition, see Policy Feature Definitions in SharePoint Server 2010 (ECM).
See Also
Concepts
Managing Information Management Policy in SharePoint Server 2010 (ECM)