Método LoadXml
Returns a CellSet created from a server response, passed in as an XmlReader.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (em Microsoft.AnalysisServices.AdomdClient.dll)
Sintaxe
'Declaração
Public Shared Function LoadXml ( _
xmlTextReader As XmlReader _
) As CellSet
'Uso
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
Parâmetros
- xmlTextReader
Tipo: System.Xml. . :: . .XmlReader
XmlReader containing the server response to return as a CellSet. For more information about this class, see System.Xml..::..XmlReader.
Valor de retorno
Tipo: Microsoft.AnalysisServices.AdomdClient. . :: . .CellSet
A CellSet, created from the xmlTextReaderparameter.
Exceções
Exceção | Condição |
---|---|
System..::..ArgumentNullException | The xmlTextReader was set to null Nothing nullptr unit uma referência nula (Nothing no Visual Basic) . |
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. |