IHierarchyMemberQuery Method (MemberRetrievalOptions, ICollectionMemberValue, NullableInt32, MemberValue)

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

Namespace:  Dundas.BI.Data.Metadata
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.1.0.1001)
Syntax
IEnumerable<IHierarchyMember> MemberQuery(
	MemberRetrievalOptions options,
	ICollection<MemberValue> shownMembers,
	int? lastVisibleLevel,
	MemberValue firstVisibleParentMember
)

Parameters

options
Type: Dundas.BI.Data.MemberRetrievalMemberRetrievalOptions
The paging, filtering, and sorting options.
shownMembers
Type: System.Collections.GenericICollectionMemberValue
The shown members. If not , then only the members in the collection, its parents, or its children can be included.
lastVisibleLevel
Type: SystemNullableInt32
The last visible level. Pass to return members on all levels.
firstVisibleParentMember
Type: Dundas.BI.Data.ParametersMemberValue
The first visible parent member. If not , only the specified member and its children can be included.

Return Value

Type: IEnumerableIHierarchyMember
A list of hierarchy members.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThe doesn't belong to this hierarchy.
Remarks
The result never includes "All" and "Unknown" members.
See Also