Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Set the setting of whether items on hold in the specified site should be locked (block edit).
Namespace: Microsoft.Office.RecordsManagement.Holds
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Shared Sub SetLockHoldItemsProperty ( _
site As SPSite, _
isLocked As Boolean _
)
'Usage
Dim site As SPSite
Dim isLocked As BooleanHold.SetLockHoldItemsProperty(site, _
isLocked)
public static void SetLockHoldItemsProperty(
SPSite site,
bool isLocked
)
Parameters
site
Type: Microsoft.SharePoint.SPSiteThe SPSite object for which the setting is requested.
isLocked
Type: System.BooleanA Boolean that indicates whether to set or reset the setting.
Remarks
This setting is scoped to the web application.