Version

GetMeasuresAsync Method

Sends an asynchronous request to the OLAP server to return a list of all measures available under the currently selected Cube.
Syntax
'Declaration
 
Public Sub GetMeasuresAsync( _
   Optional ByVal control As Control _
) 
public void GetMeasuresAsync( 
   Control control
)

Parameters

control
Optional reference to a Control. If specified, the GetMeasuresAsyncCompleted 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

If this data source has not yet been initialized, calling this method will trigger initialization.

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