Records.BypassLocks(SPListItem, BypassLockedItemDelegateMethod) Records.BypassLocks(SPListItem, BypassLockedItemDelegateMethod) Records.BypassLocks(SPListItem, BypassLockedItemDelegateMethod) Method

Definition

Bypasses the record lock in order to perform an operation on the specified SPListItem object.

public:
 static void BypassLocks(Microsoft::SharePoint::SPListItem ^ item, Microsoft::SharePoint::Publishing::BypassLockedItemDelegateMethod ^ callWithLockingBypassed);
public static void BypassLocks (Microsoft.SharePoint.SPListItem item, Microsoft.SharePoint.Publishing.BypassLockedItemDelegateMethod callWithLockingBypassed);
Public Shared Sub BypassLocks (item As SPListItem, callWithLockingBypassed As BypassLockedItemDelegateMethod)
Parameters
item
SPListItem SPListItem SPListItem

The item upon which the operation is performed.

callWithLockingBypassed
BypassLockedItemDelegateMethod BypassLockedItemDelegateMethod BypassLockedItemDelegateMethod

The operation to perform when lock is bypassed.

Applies to