Server.SendXmlaRequest Method (XmlaRequestType, TextReader)

Sends an XML for Analysis (XMLA) request of the specified type using the specified stream.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function SendXmlaRequest ( _
    type As XmlaRequestType, _
    request As TextReader _
) As XmlReader
'Usage
Dim instance As Server
Dim type As XmlaRequestType
Dim request As TextReader
Dim returnValue As XmlReader

returnValue = instance.SendXmlaRequest(type, _
    request)
public XmlReader SendXmlaRequest(
    XmlaRequestType type,
    TextReader request
)
public:
XmlReader^ SendXmlaRequest(
    XmlaRequestType type, 
    TextReader^ request
)
member SendXmlaRequest : 
        type:XmlaRequestType * 
        request:TextReader -> XmlReader 
public function SendXmlaRequest(
    type : XmlaRequestType, 
    request : TextReader
) : XmlReader

Parameters

Return Value

Type: System.Xml.XmlReader
An XmlReader containing the results of the request.