Compartilhar via


Hold.GetAllHoldsLists Method

Gets all holds lists in a specified site.

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

Syntax

'Declaration
Public Shared Function GetAllHoldsLists ( _
    site As SPSite _
) As Dictionary(Of String, SPList)
'Usage
Dim site As SPSite
Dim returnValue As Dictionary(Of String, SPList)

returnValue = Hold.GetAllHoldsLists(site)
public static Dictionary<string, SPList> GetAllHoldsLists(
    SPSite site
)

Parameters

Return Value

Type: System.Collections.Generic.Dictionary<String, SPList>
Returns Dictionary<TKey, TValue>.

See Also

Reference

Hold Class

Hold Members

Microsoft.Office.RecordsManagement.Holds Namespace