Share via


SPSecurity.SuppressAccessDeniedRedirectInScope.Dispose method

Restores the CatchAccessDeniedException to the original setting.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub Dispose
'Usage
Dim instance As SPSecurity.SuppressAccessDeniedRedirectInScope

instance.Dispose()
public void Dispose()

Implements

IDisposable.Dispose()

See also

Reference

SPSecurity.SuppressAccessDeniedRedirectInScope class

SPSecurity.SuppressAccessDeniedRedirectInScope members

Microsoft.SharePoint namespace