Compartilhar via


SPSite.CatchAccessDeniedException property

Reservado para uso interno. Use a propriedade CatchAccessDeniedException para especificar se SharePoint Foundation intercepta e manipula exceções "Acesso negado".

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

Syntax

'Declaração
Public Property CatchAccessDeniedException As Boolean
    Get
    Set
'Uso
Dim instance As SPSite
Dim value As Boolean

value = instance.CatchAccessDeniedException

instance.CatchAccessDeniedException = value
public bool CatchAccessDeniedException { get; set; }

Property value

Type: System.Boolean
true se SharePoint Foundation intercepta e manipula exceções "Acesso negado"; Caso contrário, false.

Ver também

Referência

SPSite class

SPSite members

Microsoft.SharePoint namespace