Export (0) Print
Expand All

IHoldsHandler.OnSetHold Method

Processes the item when it is put on hold.

Namespace:  Microsoft.Office.RecordsManagement.Holds
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)

HoldHandlerResult OnSetHold(
	SPListItem item,
	SPListItem hold
)

Parameters

item
Type: Microsoft.SharePoint.SPListItem

The item to process.

hold
Type: Microsoft.SharePoint.SPListItem

The hold to put the item on.

Return Value

Type: Microsoft.Office.RecordsManagement.Holds.HoldHandlerResult
The HoldHandlerResult to cancel, continue or skip default processing.
Show:
© 2015 Microsoft