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.UriThe context within which the claims providers can be found.
mode
Type: Microsoft.SharePoint.Administration.Claims.SPClaimProviderOperationOptionsThe operation option to get the claims providers.
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