Version

AddFilterMemberAsync(Hierarchy,Member,Boolean,Control) Method

Sends an asynchronous request to the OLAP server to add the specified member to the specified hierarchy's filter, and raises the AddFilterMemberAsyncCompleted event when the server sends the response.
Syntax
'Declaration
 
Public Overloads Sub AddFilterMemberAsync( _
   ByVal hierarchy As Infragistics.Olap.Core.Data.Hierarchy, _
   ByVal member As Infragistics.Olap.Core.Data.Member, _
   Optional ByVal update As Boolean, _
   Optional ByVal control As Control _
) 
public void AddFilterMemberAsync( 
   Infragistics.Olap.Core.Data.Hierarchy hierarchy,
   Infragistics.Olap.Core.Data.Member member,
   bool update,
   Control control
)

Parameters

hierarchy
The hierarchy to which the filter member is to be added.
member
The filter member to add.
update

Optional boolean value indicating whether to update the data source immediately.

The default value is true, which causes the request to be sent to the OLAP server immediately, and raises the AddFilterMemberAsyncCompleted event when the server's response has been received.

If false is specified, the request is not sent to the server until the UpdateAsync method is called.

control
Optional reference to a Control. If specified, the AddFilterMemberAsyncCompleted 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 adds a member to the list of filter members that will appear in the column axis.

This method returns immediately after issuing the request to the OLAP server so as not to block the calling thread. The actual filtering operation, however, does not occur 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