共用方式為


SPWebPartManager.AuthorizationFilterEnabled property

取得旗標,指出是否在目前的頁面中啟用授權篩選。

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

Syntax

'宣告
Public ReadOnly Property AuthorizationFilterEnabled As Boolean
    Get
'用途
Dim instance As SPWebPartManager
Dim value As Boolean

value = instance.AuthorizationFilterEnabled
public bool AuthorizationFilterEnabled { get; }

Property value

Type: System.Boolean
true如果授權篩選已啟用在目前這一頁。否則, false。

請參閱

參照

SPWebPartManager class

SPWebPartManager members

Microsoft.SharePoint.WebPartPages namespace