共用方式為


SPClaimProviderDefinition.IsEnabled Property

Gets or sets whether a claims provider is turned on or off.

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

Syntax

'Declaration
Public Property IsEnabled As Boolean
    Get
    Set
'Usage
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 if a claims provider is enabled; otherwise false.

See Also

Reference

SPClaimProviderDefinition Class

SPClaimProviderDefinition Members

Microsoft.SharePoint.Administration.Claims Namespace