Share via


Records.BypassLocks method

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

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

Syntax

'Declaration
Public Shared Sub BypassLocks ( _
    item As SPListItem, _
    callWithLockingBypassed As BypassLockedItemDelegateMethod _
)
'Usage
Dim item As SPListItem
Dim callWithLockingBypassed As BypassLockedItemDelegateMethodRecords.BypassLocks(item, callWithLockingBypassed)
public static void BypassLocks(
    SPListItem item,
    BypassLockedItemDelegateMethod callWithLockingBypassed
)

Parameters

See also

Reference

Records class

Records members

Microsoft.Office.RecordsManagement.RecordsRepository namespace