共用方式為


SPClaimProvider.SupportsSearch Property

When implemented in a derived class, determines whether the claims provider supports search operations.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property SupportsSearch As Boolean
    Get
'Usage
Dim instance As SPClaimProvider
Dim value As Boolean

value = instance.SupportsSearch
public abstract bool SupportsSearch { get; }

Property Value

Type: System.Boolean
A Boolean that represents whether the claims provider supports search operations. true if the claims provider supports search operations; otherwise false.

Remarks

If you want to be able to search for claims in the claims picker, you must implement this property and the **FillSearch()**method in the SPClaimProvider class.

The SupportsSearch must return true.

See Also

Reference

SPClaimProvider Class

SPClaimProvider Members

Microsoft.SharePoint.Administration.Claims Namespace