Version

InitializeAsync Method

Sends a request to the OLAP server to initialize the data source, and raises the InitializeAsyncCompleted event when the server sends the response.
Syntax
'Declaration
 
Public Function InitializeAsync( _
   Optional ByVal control As Control _
) As Boolean
public bool InitializeAsync( 
   Control control
)

Parameters

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

Return Value

False if no Cube is currently set, true otherwise.
Remarks

This method returns immediately after issuing the request to the OLAP server so as not to block the calling thread. The actual initialization, however, is not complete until the server signifies completion, 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