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
site
Type: Microsoft.SharePoint.SPSiteThe SPSite for which the setting is requested
Return Value
Type: System.Boolean
The setting of whether items on hold should be locked.
Remarks
This setting is scoped to the site collection.