Server.EndXmlaRequestWithReader(XmlaResultCollection) 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.
Similar to EndXmlaRequest(), but returns an AmoDataReader instead of raw XmlReader.
public Microsoft.AnalysisServices.AmoDataReader EndXmlaRequestWithReader (out Microsoft.AnalysisServices.XmlaResultCollection results);
member this.EndXmlaRequestWithReader : XmlaResultCollection -> Microsoft.AnalysisServices.AmoDataReader
Public Function EndXmlaRequestWithReader (ByRef results As XmlaResultCollection) As AmoDataReader
Parameters
- results
- XmlaResultCollection
In case of an error, this will contain the error information. Otherwise the results should be obtained from the reader after it's finished parsing the output.
Returns
An AmoDataReader containing the result of the request.
Remarks
Returned AmoDataReader object may be used to read the rowset data and informational/warning messages from the response. If an error occurs during request exection, OperationException will be thrown. Note that messages from the response will be available only after the reader object has finished reading data from the response; they may not be available immediately after EndXmlaRequestWithReader() call.