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.
Makes the specified list item 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 Sub SetExemption ( _
    item As SPListItem _
)
'Usage
Dim item As SPListItemPolicy.SetExemption(item)
public static void SetExemption(
    SPListItem item
)
Parameters
item
Type: Microsoft.SharePoint.SPListItemThe list item to make exempt from the information policy applied to it.
Remarks
Use the RemoveExemption to remove an information policy exemption from a list item. Use the IsItemExempt method to determine if a list item is exempt from the information policy applied to it.
See Also
Reference
Microsoft.Office.RecordsManagement.InformationPolicy Namespace