OrganizationClaimHierarchyProvider.GetHierarchy Method
Returns the overall hierarchy up to the number of levels specified in the numberOfLevels parameter.
Namespace: Microsoft.SharePoint.Portal.ClaimProviders
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Overrides Function GetHierarchy ( _
context As Uri, _
hierarchyNodeID As String, _
numberOfLevels As Integer _
) As SPProviderHierarchyTree
'Usage
Dim instance As OrganizationClaimHierarchyProvider
Dim context As Uri
Dim hierarchyNodeID As String
Dim numberOfLevels As Integer
Dim returnValue As SPProviderHierarchyTree
returnValue = instance.GetHierarchy(context, _
hierarchyNodeID, numberOfLevels)
public override 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 identifier for the hierarchy node.
numberOfLevels
Type: System.Int32The maximum number of levels in the hierarchy to retrieve.
Return Value
Type: Microsoft.SharePoint.WebControls.SPProviderHierarchyTree
ASPProviderHierarchyTree objectrepresenting the organization hierarchy provider tree.
See Also
Reference
OrganizationClaimHierarchyProvider Class