Policy.IsItemExempt Method
Gets whether the specified list item is exempt from the information policy applied to it.
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Parameters
- item
- Type: Microsoft.SharePoint.SPListItem
The list item.
Return Value
Type: System.Booleantrue 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.