Compartilhar via


SPClaimProviderOperations.EntityTypes Method

Gets the entity types for the specified claims providers in the context with an operation option.

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

Syntax

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

returnValue = SPClaimProviderOperations.EntityTypes(context, _
    mode, providerNames)
public static string[] EntityTypes(
    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 to be obtained from the context.

Return Value

Type: []
The entity types obtained from the context with an operation option.

Remarks

For further information on entity types, see the EntityType property.

See Also

Reference

SPClaimProviderOperations Class

SPClaimProviderOperations Members

Microsoft.SharePoint.Administration.Claims Namespace