Records.IsDeleteBlocked Method
Gets whether deletion is blocked for the specified SPListItem object.
Namespace: Microsoft.Office.RecordsManagement.RecordsRepository
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Shared Function IsDeleteBlocked ( _
item As SPListItem _
) As Boolean
'Usage
Dim item As SPListItem
Dim returnValue As Boolean
returnValue = Records.IsDeleteBlocked(item)
public static bool IsDeleteBlocked(
SPListItem item
)
Parameters
item
Type: Microsoft.SharePoint.SPListItemItem that has been declared to be a record
Return Value
Type: System.Boolean
Returns Boolean.
See Also
Reference
Microsoft.Office.RecordsManagement.RecordsRepository Namespace