共用方式為


Member.GetChildren 方法 (Int64, Int64)

Returns a MemberCollection that contains a collection of child members for the Member. The returned object contains up to count members, and begins at the position indicated by start.

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
Public Function GetChildren ( _
    start As Long, _
    count As Long _
) As MemberCollection
'用途
Dim instance As Member 
Dim start As Long 
Dim count As Long 
Dim returnValue As MemberCollection 

returnValue = instance.GetChildren(start, _
    count)
public MemberCollection GetChildren(
    long start,
    long count
)
public:
MemberCollection^ GetChildren(
    long long start, 
    long long count
)
member GetChildren : 
        start:int64 * 
        count:int64 -> MemberCollection
public function GetChildren(
    start : long, 
    count : long
) : MemberCollection

參數

  • start
    型別:System.Int64
    The position to begin returning members. This argument is 0-based.
  • count
    型別:System.Int64
    The number of members to return.

傳回值

型別:Microsoft.AnalysisServices.AdomdClient.MemberCollection
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 命名空間