Hi,
We have SSRS reports developed with MDX queries as data source. These reports are rendered using reporting service SOAP API in custom WCF service and return the result to consumer after certain business processing. We need to log the query executed for the report in WCF. I am aware of one way of running profiler on analysis server which can show the query executed. But profiler wont be able to identify the query executed from which request. I want to log this query in the WCF against the current request so that we can identify it for further debugging. As per my knowledge, there is built in property in reporting service ReportItem!DataSet.CommandText, which returns the query that is executed by specific report. However, I am not able to use this inside my .NET code.
Is there any API available to access this property? or any other suggestion is welcome.
Thanks,
Amol.