Server.SendXmlaRequest Method (XmlaRequestType, Stream)

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, _
    requestStream As Stream _
) As XmlReader
'Usage
Dim instance As Server
Dim type As XmlaRequestType
Dim requestStream As Stream
Dim returnValue As XmlReader

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

Parameters

Return Value

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