Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
item
Type: Microsoft.SharePoint.SPListItemThe item upon which the operation is performed.
callWithLockingBypassed
Type: Microsoft.SharePoint.Publishing.BypassLockedItemDelegateMethodThe operation to perform when lock is bypassed.
See Also
Reference
Microsoft.Office.RecordsManagement.RecordsRepository Namespace