This topic has not yet been rated - Rate this topic

Policy.IsItemExempt Method

Gets whether the specified list item is exempt from the information policy applied to it.

Namespace:  Microsoft.Office.RecordsManagement.InformationPolicy
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
public static bool IsItemExempt(
	SPListItem item
)

Parameters

item
Type: Microsoft.SharePoint.SPListItem
The list item.

Return Value

Type: System.Boolean
true if the specified list item is exempt from the information policy applied to it; false if it is not.

Use the SetExemption method to make a list item exempt from the information policy applied to it. Use the RemoveExemption to remove such an exemption from a list item.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ