Policy Schema Overview

Each information management policy must adhere to the Policy Schema.

The Policy root element contains the information that identifies and applies to the entire policy. It also contains the PolicyItems element, which in turn contains one PolicyItem element for each policy feature included in the policy. Each PolicyItem element can include a CustomData element. Office SharePoint Server 2007 does not read or use data in this element; instead, the element stores settings information that is specific to and used by the policy feature.

To add a site policy to a site collection's policy collection, pass XML that conforms to the Policy Schema as an argument when calling the Add method of the PolicyCollection class.

Following is a list of the elements in the Policy Schema:

<Policy Element (Policy)>

   <Name Element (Policy)>

   <Description Element (Policy)>

   <Statement Element (Policy) >

   <PolicyItems Element (Policy)>

      <PolicyItem Element (PolicyItems)>

      <Name Element (PolicyItem)>

      <Description Element (PolicyItem)>

      <Statement Element (PolicyItem)>

      <CustomData Element (PolicyItem)>

See Also

Concepts

Introduction to Information Management Policy
Policy Feature Overview
Policy Feature Definition Schema Overview
Policy Resource Definition Schema