仅供内部使用。 Use the CatchAccessDeniedException property instead to specify whether SharePoint Foundation traps and handles “Access Denied” exceptions.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Property CatchAccessDeniedException As Boolean
Get
Set
用法
Dim instance As SPSite
Dim value As Boolean
value = instance.CatchAccessDeniedException
instance.CatchAccessDeniedException = value
public bool CatchAccessDeniedException { get; set; }
属性值
类型:System.Boolean
true if SharePoint Foundation traps and handles “Access Denied” exceptions; otherwise, false.