共用方式為


SPVirtualServer.CatchAccessDeniedException property

NOTE: This API is now obsolete.

已過時。請改用Microsoft.SharePoint.SPSecurity類別之CatchAccessDeniedException屬性。(在Windows SharePoint Services 2.0, CatchAccessDeniedException類別用來取得或設定 Boolean 值,以指定是否要處理存取遭拒例外狀況,並要求使用者驗證和維護回溯相容性。)

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

Syntax

'宣告
<ObsoleteAttribute("Use SPSecurity.CatchAccessDeniedException instead")> _
Public Property CatchAccessDeniedException As Boolean
    Get
    Set
'用途
Dim instance As SPVirtualServer
Dim value As Boolean

value = instance.CatchAccessDeniedException

instance.CatchAccessDeniedException = value
[ObsoleteAttribute("Use SPSecurity.CatchAccessDeniedException instead")]
public bool CatchAccessDeniedException { get; set; }

Property value

Type: System.Boolean
true 「 拒絕存取 」 的例外狀況處理和使用者驗證,則需要 ; 如果否則,請false。

請參閱

參照

SPVirtualServer class

SPVirtualServer members

Microsoft.SharePoint.Administration namespace