SPSite.CatchAccessDeniedException Property (Microsoft.SharePoint)

This property is reserved for internal use and is not intended to be used directly from your code.
Use the CatchAccessDeniedException property instead to specify whether Windows SharePoint Services traps and handles Access Denied exceptions.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Syntax

Visual Basic (Declaration)
Public Property CatchAccessDeniedException As Boolean
Visual Basic (Usage)
Dim instance As SPSite
Dim value As Boolean

value = instance.CatchAccessDeniedException

instance.CatchAccessDeniedException = value
C#
public bool CatchAccessDeniedException { get; set; }
See Also

Tags :


Page view tracker