Share via


Hold.GetHoldsList Method

Gets the list where the holds are stored for the specified Records Center.

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

Syntax

'Declaration
Public Shared Function GetHoldsList ( _
    web As SPWeb _
) As SPList
'Usage
Dim web As SPWeb
Dim returnValue As SPList

returnValue = Hold.GetHoldsList(web)
public static SPList GetHoldsList(
    SPWeb web
)

Parameters

Return Value

Type: Microsoft.SharePoint.SPList
Returns an SPList object that represents the list where the holds are stored for this Records Center.

See Also

Reference

Hold Class

Hold Members

Microsoft.Office.RecordsManagement.Holds Namespace