Share via


HoldSettings.GetAllHolds method

Returns all holds in the current site collection.

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

Syntax

'Declaration
Public Function GetAllHolds As List(Of HoldInfo)
'Usage
Dim instance As HoldSettings
Dim returnValue As List(Of HoldInfo)

returnValue = instance.GetAllHolds()
public List<HoldInfo> GetAllHolds()

Return value

Type: System.Collections.Generic.List<HoldInfo>
All holds in the current site collection.

See also

Reference

HoldSettings class

HoldSettings members

Microsoft.Office.RecordsManagement.Preservation namespace