Records.BypassLocks - Méthode
Ignore le verrouillage d'enregistrement afin d'effectuer une opération sur l'objet spécifié SPListItem .
Espace de noms : Microsoft.Office.RecordsManagement.RecordsRepository
Assembly : Microsoft.Office.Policy (dans Microsoft.Office.Policy.dll)
Syntaxe
'Déclaration
Public Shared Sub BypassLocks ( _
item As SPListItem, _
callWithLockingBypassed As BypassLockedItemDelegateMethod _
)
'Utilisation
Dim item As SPListItem
Dim callWithLockingBypassed As BypassLockedItemDelegateMethodRecords.BypassLocks(item, callWithLockingBypassed)
public static void BypassLocks(
SPListItem item,
BypassLockedItemDelegateMethod callWithLockingBypassed
)
Paramètres
item
Type : Microsoft.SharePoint.SPListItemL'élément sur lequel l'opération est effectuée.
callWithLockingBypassed
Type : Microsoft.SharePoint.Publishing.BypassLockedItemDelegateMethodL'opération à effectuer lorsque le verrou est contournée.
Voir aussi
Référence
Microsoft.Office.RecordsManagement.RecordsRepository - Espace de noms