Compartir a través de


CellSet.LoadXml Método

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

Espacio de nombres:  Microsoft.AnalysisServices.AdomdClient
Ensamblado:  Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxis

'Declaración
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

Valor devuelto

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

Excepciones

Excepción Condición
System.ArgumentNullException

The xmlTextReader was set to null.

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.

Vea también

Referencia

CellSet Clase

Espacio de nombres Microsoft.AnalysisServices.AdomdClient