Share via


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

Return value

Type: System.Boolean
Returns Boolean.

See also

Reference

Records class

Records members

Microsoft.Office.RecordsManagement.RecordsRepository namespace