共用方式為


GetChildren 方法

Returns a MemberCollection that contains a collection of child members for the Member.

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

語法

'宣告
Public Function GetChildren As MemberCollection
'用途
Dim instance As Member
Dim returnValue As MemberCollection

returnValue = instance.GetChildren()
public MemberCollection GetChildren()
public:
MemberCollection^ GetChildren()
member GetChildren : unit -> MemberCollection 
public function GetChildren() : MemberCollection

傳回值

型別:Microsoft.AnalysisServices.AdomdServer. . :: . .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.