Get the reports in the OlapDataManager as a stream

You can get the report collection in the OlapDataManager as a stream by using GetReportAsStream method. This method will return the current report collection of the OlapDataManager as a stream.

The following code snippet will explain obtaining the report as a stream:

Stream reportStream = olapDataManager.GetReportAsStream();
Dim reportStream As Stream = olapDataManager.GetReportAsStream()