次の方法で共有


SPClaimHierarchyProvider.GetHierarchy method

Returns the overall hierarchy up to the number of levels specified in the numberOfLevels parameter.

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

Syntax

'Declaration
Public MustOverride Function GetHierarchy ( _
    context As Uri, _
    hierarchyNodeID As String, _
    numberOfLevels As Integer _
) As SPProviderHierarchyTree
'Usage
Dim instance As SPClaimHierarchyProvider
Dim context As Uri
Dim hierarchyNodeID As String
Dim numberOfLevels As Integer
Dim returnValue As SPProviderHierarchyTree

returnValue = instance.GetHierarchy(context, _
    hierarchyNodeID, numberOfLevels)
public abstract SPProviderHierarchyTree GetHierarchy(
    Uri context,
    string hierarchyNodeID,
    int numberOfLevels
)

Parameters

  • context
    Type: System.Uri

    The context, as a URI. This must be a properly formatted URI.

  • numberOfLevels
    Type: System.Int32

    The maximum number of levels in the hierarchy to retrieve.

Return value

Type: Microsoft.SharePoint.WebControls.SPProviderHierarchyTree
An object representing the hierarchy provider tree.

See also

Reference

SPClaimHierarchyProvider class

SPClaimHierarchyProvider members

Microsoft.SharePoint.Administration.Claims namespace