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

IHoldsHandler Interface

SharePoint 2010

Provides an interface that a custom hold handler can implement to provide custom hold processing.

Namespace:  Microsoft.Office.RecordsManagement.Holds
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
'Declaration
Public Interface IHoldsHandler
'Usage
Dim instance As IHoldsHandler

When a list item is put on hold or removed from hold, a custom processing handler can be added by implementing the OnSetHold(SPListItem, SPListItem) and OnRemoveHold(SPListItem, List<SPListItem>) methods in the IHoldsHandler interface. After the handler has processed the list item, it can choose to cancel, continue, or skip default processing by returning the corresponiding HoldHandlerResult object.

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.