This topic has not yet been rated - Rate this topic

BypassLockedItemDelegateMethod Delegate

SharePoint 2010

Bypasses record locks of the specified item.

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
public delegate void BypassLockedItemDelegateMethod(
	SPListItem listItem
)

Parameters

listItem
Type: Microsoft.SharePoint.SPListItem
The item.

When an item is declared as record, it may be locked down and cannot be edited. Use CommonUtilities.BypassLocks(SPListItem, BypassLockedItemDelegateMethod) when it is necessary to bypass the lock. The operation to perform while the lock is bypassed is implemented in the BypassLockedItemDelegateMethod delegate.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ