Hold.GetHoldReportsList Method
Gets a list of items currently on hold for the specified SharePoint site.
Namespace: Microsoft.Office.RecordsManagement.Holds
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Shared Function GetHoldReportsList ( _
web As SPWeb _
) As SPList
'Usage
Dim web As SPWeb
Dim returnValue As SPList
returnValue = Hold.GetHoldReportsList(web)
public static SPList GetHoldReportsList(
SPWeb web
)
Parameters
web
Type: Microsoft.SharePoint.SPWebThe site for which you want the holds report.
Return Value
Type: Microsoft.SharePoint.SPList
Gets an SPList object that represents a list of the items on hold for the specified site.