Version

GetHierarchyMembersAsync Method

Sends a request to the OLAP server for a list of the members which belong to the specified Hierarchy, and raises the GetHierarchyMembersAsyncCompleted event when the server sends the response.
Syntax
'Declaration
 
Public Sub GetHierarchyMembersAsync( _
   ByVal hierarchyUniqueName As String, _
   Optional ByVal control As Control _
) 
public void GetHierarchyMembersAsync( 
   string hierarchyUniqueName,
   Control control
)

Parameters

hierarchyUniqueName
The unique name of the Hierarchy whose members are to be retrieved.
control
Optional reference to a Control. If specified, the GetHierarchyMembersAsyncCompleted event is raised on the thread on which this control's handle was created. This approach makes it possible to access control members directly from the event handler.
Remarks

This method returns immediately after issuing the request to the OLAP server so as not to block the calling thread. The actual list of members, however, is not available until the server returns this request, which happens indeterminately.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also