Share via


Hold.GetLockHoldItemsProperty Method

Gets the setting of whether items on hold should be locked (block edit) on a specified site.

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

Syntax

'Declaration
Public Shared Function GetLockHoldItemsProperty ( _
    site As SPSite _
) As Boolean
'Usage
Dim site As SPSite
Dim returnValue As Boolean

returnValue = Hold.GetLockHoldItemsProperty(site)
public static bool GetLockHoldItemsProperty(
    SPSite site
)

Parameters

Return Value

Type: System.Boolean
The setting of whether items on hold should be locked.

Remarks

This setting is scoped to the site collection.

See Also

Reference

Hold Class

Hold Members

Microsoft.Office.RecordsManagement.Holds Namespace