PolicyCollection.Add method
SharePoint 2013
Adds the specified information policy to the collection.
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Parameters
- site
- Type: Microsoft.SharePoint.SPSite
The site collection to which to add the information policy.
- xmlManifest
- 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.