共用方式為


SPClaimProviderDefinition.IsEnabled property

取得或設定要開啟或關閉開啟的宣告提供者。

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

Syntax

'宣告
Public Property IsEnabled As Boolean
    Get
    Set
'用途
Dim instance As SPClaimProviderDefinition
Dim value As Boolean

value = instance.IsEnabled

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

Property value

Type: System.Boolean
true如果已啟用的宣告提供者 ;否則false。

請參閱

參照

SPClaimProviderDefinition class

SPClaimProviderDefinition members

Microsoft.SharePoint.Administration.Claims namespace