What is the way in TSQL to run the XMLA code to process a cube
XMLA:
<Process xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">
<Object>
<DatabaseID>Adventure Works DW</DatabaseID>
</Object>
<Type>ProcessFull</Type>
<WriteBackTableCreation>UseExisting</WriteBackTableCreation>
</Process>
I use this way:
exec msdb.dbo.sp_start_job
'Job Name'