(CubeQuery)QuerySection object, OLAPQuerySection, QuerySection
Executes a query. This method is equivalent to selecting the Process Current item from the Tools menu.
Expression.Process()
An expression that returns an OLAPQuerySection or a QuerySection object
This example shows how to process every query in an Interactive Reporting document file:
for (j =1; j <= ActiveDocument.Sections.Count; j++)
{
if (ActiveDocument.Sections[j].Type == bqQuery)
{
var MyCon = ActiveDocument.Sections[j].DataModel.Connection
MyCon.Username = "Hyperion"
MyCon.SetPassword("Hyperion")
MyCon.Connect()
ActiveDocument.Sections[j].Process()
Console.Writeln(ActiveDocument.Sections[j].Name + " was processed.")
}
}