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.
Gets whether hold is enabled on the specified web for current user.
Namespace: Microsoft.Office.RecordsManagement.Holds
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Shared Function IsHoldEnabledForCurrentUser ( _
web As SPWeb _
) As Boolean
'Usage
Dim web As SPWeb
Dim returnValue As Boolean
returnValue = Hold.IsHoldEnabledForCurrentUser(web)
public static bool IsHoldEnabledForCurrentUser(
SPWeb web
)
Parameters
web
Type: Microsoft.SharePoint.SPWebThe web.
Return Value
Type: System.Boolean
Whether hold is enabled on the specified web for current user.