Share via


Level.GetMembers Method

Returns a MemberCollection that contains a collection of members for the Level. Note   This method loads all members of the level. If there are a large number of members, this method may take a long time to execute.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Public Function GetMembers As MemberCollection
'Usage
Dim instance As Level
Dim returnValue As MemberCollection

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

Return Value

Type: Microsoft.AnalysisServices.AdomdClient.MemberCollection
A MemberCollection that contains a collection of members for the Level.

Remarks

The GetMembers method provides a collection of Member objects that represent the members that are associated with the level.