PolicyFeature PolicyFeature PolicyFeature Class

Definition

A policy feature installed on the SharePoint server farm.

public ref class PolicyFeature
public class PolicyFeature
Public Class PolicyFeature
Inheritance
PolicyFeaturePolicyFeaturePolicyFeature

Remarks

A policy feature is an assembly or other piece of code that provides some content management functionality to Microsoft SharePoint Server 2010, and possibly to client application documents as well.

Each policy feature must implement the IPolicyFeature interface.

For more information about policy features, including additional requirements, see Policy Feature Overview.

Policy features are scoped at the farm level, as opposed to policies, which are scoped at the site collection level. Logically, each policy is a collection of instruction sets for one or more policy features. For each policy feature that you want to include in a policy, you include an instruction set, called a policy item, in the policy. A policy item contains the settings for only one policy feature.

For more information about information policies in general, see Introduction to Information Management Policy.

Properties

AssemblyName AssemblyName AssemblyName

Gets the strong name of the policy feature assembly.

ClassName ClassName ClassName

Gets the name of the class within the policy feature assembly that implements the IPolicyFeature interface.

ConfigPage ConfigPage ConfigPage

Gets the URL to a Web control used to edit policy instance-level settings.

ConfigPageInstructions ConfigPageInstructions ConfigPageInstructions

Gets the instructions for using the ConfigPage Web control.

DefaultCustomData DefaultCustomData DefaultCustomData

Gets the default values for any policy instance-level settings for this policy feature.

Description Description Description

Gets the short description of the policy feature and of the service it provides.

GlobalConfigPage GlobalConfigPage GlobalConfigPage

Gets the URL to a Web control used to edit server farm-level settings for this policy feature.

GlobalCustomData GlobalCustomData GlobalCustomData

Gets or sets the default settings for any server farm-level settings for this policy feature.

Group Group Group

Gets the policy feature group to which this policy feature belongs.

Id Id Id

The fully qualified name of the policy feature.

Name Name Name

Gets the name to display in the Microsoft SharePoint Server 2010 interface for this information policy feature.

Publisher Publisher Publisher

Gets the name of the creator of the policy feature, as it will be displayed in the Microsoft SharePoint Server 2010 user interface.

ResourceList ResourceList ResourceList

Gets the collection of policy resources for this policy feature.

ResourceTypes ResourceTypes ResourceTypes

Gets the collection of any resource types employed by this policy feature.

State State State

Gets and sets whether the policy feature is hidden or visible.

Methods

Update() Update() Update()

Writes the changes made to the policy feature back to the SharePoint content database.

Validate() Validate() Validate()

Validates this PolicyFeature.

ValidateManifest(String) ValidateManifest(String) ValidateManifest(String)

Validates the specified XML information policy feature definition.

ValidateResources() ValidateResources() ValidateResources()

Validates the resources used by this PolicyFeature.

Extension Methods

ToJson(Object) ToJson(Object) ToJson(Object)

Applies to