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 GetAllHoldItems 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 GetAllHoldItems to get a list of all hold items")]
public static SPFieldMultiChoiceValue GetAllHoldsForItem(
SPListItem item
)
Parameters
item
Type: Microsoft.SharePoint.SPListItemThe item.
Return Value
Type: Microsoft.SharePoint.SPFieldMultiChoiceValue
A list of URLs that is specific to the holds.