CellSet.LoadXml Method

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

命名空间: Microsoft.AnalysisServices.AdomdClient
程序集: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

语法

声明
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

参数

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

返回值

A CellSet, created from the xmlTextReaderparameter.

异常

异常类型 条件
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.

线程安全

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.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

CellSet Class
CellSet Members
Microsoft.AnalysisServices.AdomdClient Namespace