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