I have a mdx query that returns valid results in Sql Server Management Studio and would like to automate the execution of this query and put the result into an email.
SSIS seems to be the natural fit for this. I have been able to run the mdx in an "Execute SQL Task" and populate an object variable with the result, but I am unsure how to parse out that object into string or xml data that I can use in a Send Mail task. Postings I have seen elsewhere on this type of thing end up going to using a "Script Task" Which would require me to change my C# thoughts into VB.NET and seem to be outside the spirit and utility of SSIS.
If there is another approach entirely that could work as well I am not married to SSIs but would like to stay within the MS SQL Server and .NET toolset.