Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Shared Function IsItemExempt ( _
    item As SPListItem _
) As Boolean
'Usage
Dim item As SPListItem
Dim returnValue As Boolean
returnValue = Policy.IsItemExempt(item)
public static bool IsItemExempt(
    SPListItem item
)
Parameters
item
Type: Microsoft.SharePoint.SPListItemThe 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.
Remarks
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.
See Also
Reference
Microsoft.Office.RecordsManagement.InformationPolicy Namespace