Server.ExecuteReader Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Executes given XMLA command and returns AmoDataReader
public Microsoft.AnalysisServices.AmoDataReader ExecuteReader (string command, out Microsoft.AnalysisServices.XmlaResultCollection results, System.Collections.IDictionary properties = default, bool wrapCommand = true);
member this.ExecuteReader : string * XmlaResultCollection * System.Collections.IDictionary * bool -> Microsoft.AnalysisServices.AmoDataReader
Public Function ExecuteReader (command As String, ByRef results As XmlaResultCollection, Optional properties As IDictionary = Nothing, Optional wrapCommand As Boolean = true) As AmoDataReader
Parameters
- command
- String
XMLA command
- results
- XmlaResultCollection
Results of the command execution
- properties
- IDictionary
Optional command properties
- wrapCommand
- Boolean
Whether the command needs to be wrapped into Execute and Command elements.
Returns
An AmoDataReader object, if command executed successfully. Otherwise, null.