Share via


SPClaimProviderOperations.ProviderSchemas method

Returns an array of schemas for the specified claims providers in the specified context with the specified operation option.

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

Syntax

'Declaration
Public Shared Function ProviderSchemas ( _
    context As Uri, _
    mode As SPClaimProviderOperationOptions, _
    providerNames As String() _
) As SPProviderSchema()
'Usage
Dim context As Uri
Dim mode As SPClaimProviderOperationOptions
Dim providerNames As String()
Dim returnValue As SPProviderSchema()

returnValue = SPClaimProviderOperations.ProviderSchemas(context, _
    mode, providerNames)
public static SPProviderSchema[] ProviderSchemas(
    Uri context,
    SPClaimProviderOperationOptions mode,
    string[] providerNames
)

Parameters

  • context
    Type: System.Uri

    The context within which the claims providers can be found.

  • providerNames
    Type: []

    The names of the claims providers for which the schema is returned.

Return value

Type: []
The array of schemas for the specified claims providers.

Remarks

This method returns the schemas only for claims providers that support Search() or Resolve().

See also

Reference

SPClaimProviderOperations class

SPClaimProviderOperations members

Microsoft.SharePoint.Administration.Claims namespace