Records.IsOnHold Method
Check whether the specified item is placed on a legal hold.
Namespace: Microsoft.Office.RecordsManagement.RecordsRepository
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Shared Function IsOnHold ( _
item As SPListItem _
) As Boolean
'Usage
Dim item As SPListItem
Dim returnValue As Boolean
returnValue = Records.IsOnHold(item)
public static bool IsOnHold(
SPListItem item
)
Parameters
item
Type: Microsoft.SharePoint.SPListItemThe item
Return Value
Type: System.Boolean
Returns Boolean.
See Also
Reference
Microsoft.Office.RecordsManagement.RecordsRepository Namespace