Partager via


Méthode Level.GetMembers (Int64, Int64, array<String[], array<MemberFilter )

Returns a MemberCollection that contains a collection of members for the Level. The returned object contains up to count members, begins at the position indicated by the start parameter, and is filtered by the filters parameter. Each member caches the properties indicated by the Array passed into the properties parameter. Note   For performance reasons, this overload should only be used if non-default member properties are needed.

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

Syntaxe

'Déclaration
Public Function GetMembers ( _
    start As Long, _
    count As Long, _
    properties As String(), _
    ParamArray filters As MemberFilter() _
) As MemberCollection
'Utilisation
Dim instance As Level 
Dim start As Long 
Dim count As Long 
Dim properties As String()
Dim filters As MemberFilter()
Dim returnValue As MemberCollection 

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

Paramètres

  • start
    Type : System.Int64
    The position to begin returning members. This parameter is 0-based.
  • count
    Type : System.Int64
    The number of members to return.
  • properties
    Type : array<System.String[]
    An Array indicated the properties to cache.

Valeur de retour

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

Notes

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

Note   For performance reasons, this overload should only be used if non-default member properties are needed. Default member properties include Name, UniqueName, Caption, ChildCount, Description, LevelDepth, LevelName, Parent, ParentLevel, and Type.

Voir aussi

Référence

Level Classe

Surcharge GetMembers

Espace de noms Microsoft.AnalysisServices.AdomdClient