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
參數
- xmlTextReader
型別:System.Xml. . :: . .XmlReader
XmlReader containing the server response to return as a CellSet. For more information about this class, see System.Xml..::..XmlReader.
傳回值
型別: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. |