Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.UriThe context, as a URI. This must be a properly formatted URI.
hierarchyNodeID
Type: System.StringThe hierarchy node ID.
numberOfLevels
Type: System.Int32The 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