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
web
Type: Microsoft.SharePoint.SPWebThe Records Center for which you want the list where the holds are stored.
Return Value
Type: Microsoft.SharePoint.SPList
Returns an SPList object that represents the list where the holds are stored for this Records Center.