Share via


Hold.GetAllHoldsForItem method

NOTE: This API is now obsolete.

Gets a list of URLS that is specific to the holds.

Namespace:  Microsoft.Office.RecordsManagement.Holds
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)

Syntax

'Declaration
<ObsoleteAttribute("Use GetHolds to get a list of all hold items")> _
Public Shared Function GetAllHoldsForItem ( _
    item As SPListItem _
) As SPFieldMultiChoiceValue
'Usage
Dim item As SPListItem
Dim returnValue As SPFieldMultiChoiceValue

returnValue = Hold.GetAllHoldsForItem(item)
[ObsoleteAttribute("Use GetHolds to get a list of all hold items")]
public static SPFieldMultiChoiceValue GetAllHoldsForItem(
    SPListItem item
)

Parameters

Return value

Type: Microsoft.SharePoint.SPFieldMultiChoiceValue
A list of URLs that is specific to the holds.

See also

Reference

Hold class

Hold members

Microsoft.Office.RecordsManagement.Holds namespace