Partager via


GetChildren méthode (Int64, Int64, 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.

Espace de noms :  Microsoft.AnalysisServices.AdomdClient
Assembly :  Microsoft.AnalysisServices.AdomdClient (dans Microsoft.AnalysisServices.AdomdClient.dll)

Syntaxe

'Déclaration
Public Function GetChildren ( _
    start As Long, _
    count As Long, _
    ParamArray filters As MemberFilter() _
) As MemberCollection
'Utilisation
Dim instance As Member
Dim start As Long
Dim count As Long
Dim filters As MemberFilter()
Dim returnValue As MemberCollection

returnValue = instance.GetChildren(start, _
    count, filters)
public MemberCollection GetChildren(
    long start,
    long count,
    params MemberFilter[] filters
)
public:
MemberCollection^ GetChildren(
    long long start, 
    long long count, 
    ... array<MemberFilter^>^ filters
)
member GetChildren : 
        start:int64 * 
        count:int64 * 
        filters:MemberFilter[] -> MemberCollection 
public function GetChildren(
    start : long, 
    count : long, 
    ... filters : MemberFilter[]
) : MemberCollection

Paramètres

  • start
    Type : System. . :: . .Int64
    The position to begin returning members. This parameter is 0-based.

Valeur de retour

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

Notes

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.

[!REMARQUE]

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