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
- type
Type: Microsoft.AnalysisServices.XmlaRequestType
The type of request to send.
- requestStream
Type: System.IO.Stream
A Stream containing the request.
Return Value
Type: System.Xml.XmlReader
An XmlReader containing the results of the request.