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.
Namespace: Microsoft.Office.RecordsManagement.RecordsRepository
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Shared Sub LockItem ( _
itemToLock As SPListItem, _
lockName As String _
)
'Usage
Dim itemToLock As SPListItem
Dim lockName As StringRecords.LockItem(itemToLock, lockName)
public static void LockItem(
SPListItem itemToLock,
string lockName
)
Parameters
- itemToLock
Type: Microsoft.SharePoint.SPListItem
- lockName
Type: System.String
See Also
Reference
Microsoft.Office.RecordsManagement.RecordsRepository Namespace