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

PolicyCollection.Delete method

Deletes the specified information policy from the specified site collection.

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


Type: Microsoft.SharePoint.SPSite

The site collection from which to delete the specified information policy.

Type: System.String

The ID of the policy to return.

This method raises an exception if the policy is currently applied to items in the site collection.

Use the Id property of the Policy object to return the policy's ID.

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

Community Additions

© 2014 Microsoft. All rights reserved.