Records.UnlockItem Method
Unlocks the specified item from the specified lock.
Namespace: Microsoft.Office.RecordsManagement.RecordsRepository
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Shared Sub UnlockItem ( _
itemToUnlock As SPListItem, _
lockName As String _
)
'Usage
Dim itemToUnlock As SPListItem
Dim lockName As StringRecords.UnlockItem(itemToUnlock, lockName)
public static void UnlockItem(
SPListItem itemToUnlock,
string lockName
)
Parameters
itemToUnlock
Type: Microsoft.SharePoint.SPListItemthe item
lockName
Type: System.Stringthe lock name
See Also
Reference
Microsoft.Office.RecordsManagement.RecordsRepository Namespace