共用方式為


SPClaimProviderDefinition.IsUsedByDefault Property

Gets or sets whether this claim provider is used by default in situations where the administrator has not specified the claims providers.

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

Syntax

'Declaration
Public Property IsUsedByDefault As Boolean
    Get
    Set
'Usage
Dim instance As SPClaimProviderDefinition
Dim value As Boolean

value = instance.IsUsedByDefault

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

Property Value

Type: System.Boolean
true if this claims provider is used by default; otherwise false.

Remarks

If this property is set to false, the claims provider must be explicitly enabled on each SPIisSettings object where the claims provider should be used.

See Also

Reference

SPClaimProviderDefinition Class

SPClaimProviderDefinition Members

Microsoft.SharePoint.Administration.Claims Namespace