다음을 통해 공유


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

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