LoadXml 方法

Returns a CellSet created from a server response, passed in as an XmlReader.

命名空间:  Microsoft.AnalysisServices.AdomdClient
程序集:  Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.dll 中)

语法

声明
Public Shared Function LoadXml ( _
    xmlTextReader As XmlReader _
) As CellSet
用法
Dim xmlTextReader As XmlReader
Dim returnValue As CellSet

returnValue = CellSet.LoadXml(xmlTextReader)
public static CellSet LoadXml(
    XmlReader xmlTextReader
)
public:
static CellSet^ LoadXml(
    XmlReader^ xmlTextReader
)
static member LoadXml : 
        xmlTextReader:XmlReader -> CellSet 
public static function LoadXml(
    xmlTextReader : XmlReader
) : CellSet

参数

返回值

类型:Microsoft.AnalysisServices.AdomdClient. . :: . .CellSet
A CellSet, created from the xmlTextReaderparameter.

异常

异常 条件
System..::..ArgumentNullException

The xmlTextReader was set to null Nothing nullptr unit null 引用(在 Visual Basic 中为 Nothing) .

System..::..ArgumentException

The State property of xmlTextReader was Error, EndOfFile, or Closed.

System..::..InvalidOperationException

The XML returned by the provider was not a valid cellset response.

AdomdErrorResponseException

The XML returned by the provider was a valid error response.