Level.GetMembers Method (Int64, Int64, String[], 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.

命名空间: Microsoft.AnalysisServices.AdomdClient
程序集: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

语法

声明
Public Function GetMembers ( _
    start As Long, _
    count As Long, _
    properties As String(), _
    ParamArray filters As MemberFilter() _
) As MemberCollection
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
)
public MemberCollection GetMembers (
    long start, 
    long count, 
    String[] properties, 
    MemberFilter[] filters
)
public function GetMembers (
    start : long, 
    count : long, 
    properties : String[], 
    ... filters : MemberFilter[]
) : MemberCollection

参数

  • start
    The position to begin returning members. This parameter is 0-based.
  • count
    The number of members to return.
  • properties
    An Array indicated the properties to cache.

返回值

A MemberCollection that contains a collection of members for the Level.

备注

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.

线程安全

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

Level Class
Level Members
Microsoft.AnalysisServices.AdomdClient Namespace