Share via


Server.EndXmlaRequestWithReader(XmlaResultCollection) Method

Definition

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.

Applies to