Open this page in the API Guide

UserHierarchy.MemberQuery Method (MemberRetrievalOptions, IHierarchyMember, Nullable<Int32>)

Enumerates hierarchy members. This is a flat list of members potentially on different hierarchy levels.

Namespace:  Dundas.BI.Entities.UserHierarchies
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
public IEnumerable<IHierarchyMember> MemberQuery(
	MemberRetrievalOptions options,
	IHierarchyMember parentMember,
	int? lastVisibleLevel
)

Parameters

options
Type: Dundas.BI.Data.MemberRetrieval.MemberRetrievalOptions
The paging, filtering, and sorting options.
parentMember
Type: Dundas.BI.Data.Metadata.IHierarchyMember
The parent member. Use null to enumerate all members.
lastVisibleLevel
Type: System.Nullable<Int32>
The last visible level. Pass null to return members on all levels.

Return Value

Type: IEnumerable<IHierarchyMember>
A list of hierarchy members.

Implements

IHierarchy.MemberQuery(MemberRetrievalOptions, IHierarchyMember, Nullable<Int32>)
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThe doesn't belong to this hierarchy.
Remarks
The result never includes "All" and "Unknown" members.
See Also