Member.GetChildren Method (Int64, Int64, String[], MemberFilter[])
Returns a MemberCollection that contains a collection of child members for the Member. The returned object contains up to count members, begins at the position indicated by the start parameter, and is filtered by the filters parameters. Each member caches the properties indicated by the Array passed into the properties parameter. Note For performance reasons, this overload should be used only if non-default member properties are needed. Default member properties include Name, UniqueName, Caption, ChildCount, Description, LevelDepth, LevelName, Parent, ParentLevel, and Type.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)
Syntax
'Declaration
Public Function GetChildren ( _
start As Long, _
count As Long, _
properties As String(), _
ParamArray filters As MemberFilter() _
) As MemberCollection
public MemberCollection GetChildren (
long start,
long count,
string[] properties,
params MemberFilter[] filters
)
public:
MemberCollection^ GetChildren (
long long start,
long long count,
array<String^>^ properties,
... array<MemberFilter^>^ filters
)
public MemberCollection GetChildren (
long start,
long count,
String[] properties,
MemberFilter[] filters
)
public function GetChildren (
start : long,
count : long,
properties : String[],
... filters : MemberFilter[]
) : MemberCollection
Parameters
- start
The position to begin returning members. This parameter is 0-based.
- count
The number of members to return.
- properties
The properties to populate.
- filters
An array of MemberFilter objects that will filter the returned MemberCollection.
Return Value
Returns a MemberCollection that contains a collection of members for the Member.
Remarks
A nonleaf member is associated with one or more members from lower levels in the hierarchy. For example, in a time dimension that contains the levels Year, Month, and Day, the members of the Day level are leaf members. Each member in the Year level is associated with 12 child members from the Month level, and each member in the Month level is associated with at least 28 child members from the Day level.
The GetChildren method returns a collection of Member objects that represents the child members associated with the Member.
Note
This property is not supported if the Member is referenced through a CellSet in order to retrieve metadata from a query.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
Member Class
Member Members
Microsoft.AnalysisServices.AdomdClient Namespace