Freigeben über


CellSet.LoadXml Method

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

Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly : Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Syntax

'Declaration
Public Shared Function LoadXml ( _
    xmlTextReader As XmlReader _
) As CellSet
public static CellSet LoadXml (
    XmlReader xmlTextReader
)
public:
static CellSet^ LoadXml (
    XmlReader^ xmlTextReader
)
public static CellSet LoadXml (
    XmlReader xmlTextReader
)
public static function LoadXml (
    xmlTextReader : XmlReader
) : CellSet

Parameter

  • xmlTextReader
    XmlReader containing the server response to return as a CellSet. For more information about this class, see System.Xml.XmlReader.

Rückgabewert

A CellSet, created from the xmlTextReaderparameter.

Ausnahmen

Ausnahmetyp Bedingung
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.

Threadsicherheit

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

CellSet Class
CellSet Members
Microsoft.AnalysisServices.AdomdClient Namespace