다음을 통해 공유


Member.GetChildren 메서드 (Int64, Int64, array<String[], array<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.

네임스페이스:  Microsoft.AnalysisServices.AdomdClient
어셈블리:  Microsoft.AnalysisServices.AdomdClient(Microsoft.AnalysisServices.AdomdClient.dll)

구문

‘선언
Public Function GetChildren ( _
    start As Long, _
    count As Long, _
    properties As String(), _
    ParamArray filters As MemberFilter() _
) As MemberCollection
‘사용 방법
Dim instance As Member 
Dim start As Long 
Dim count As Long 
Dim properties As String()
Dim filters As MemberFilter()
Dim returnValue As MemberCollection 

returnValue = instance.GetChildren(start, _
    count, properties, filters)
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
)
member GetChildren : 
        start:int64 * 
        count:int64 * 
        properties:string[] * 
        filters:MemberFilter[] -> MemberCollection
public function GetChildren(
    start : long, 
    count : long, 
    properties : String[], 
    ... filters : MemberFilter[]
) : MemberCollection

매개 변수

  • start
    유형: System.Int64
    The position to begin returning members. This parameter is 0-based.
  • count
    유형: System.Int64
    The number of members to return.
  • properties
    유형: array<System.String[]
    The properties to populate.

반환 값

유형: Microsoft.AnalysisServices.AdomdClient.MemberCollection
Returns a MemberCollection that contains a collection of members for the Member.

주의

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.

[!참고]

This property is not supported if the Member is referenced through a CellSet in order to retrieve metadata from a query.

참고 항목

참조

Member 클래스

GetChildren 오버로드

Microsoft.AnalysisServices.AdomdClient 네임스페이스