Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

PolicyCollection.Add Method

Adds the specified information policy to the collection.

Namespace:  Microsoft.Office.RecordsManagement.InformationPolicy
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
public static void Add(
	SPSite site,
	string xmlManifest


Type: Microsoft.SharePoint.SPSite
The site collection to which to add the information policy.
Type: System.String
An XML representation of the policy definition.

To validate an XML representation of an information policy, use the ValidateManifest method of the Policy object.

For more information about the schema to which policy definitions must adhere, see Policy Schema Overview in SharePoint Server 2010 (ECM).

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.