次の方法で共有


CellSet.LoadXml メソッド

XmlReader として渡される、サーバーの応答から作成された CellSet を返します。

名前空間:  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

パラメーター

戻り値

型: Microsoft.AnalysisServices.AdomdClient.CellSet
xmlTextReader パラメーターから作成された CellSet です。

例外

例外 条件
System.ArgumentNullException

xmlTextReader が null に設定されていました。

System.ArgumentException

xmlTextReader の State プロパティが、Error、EndOfFile、または Closed になっていました。

System.InvalidOperationException

プロバイダーから返された XML が有効なセル セット応答ではありませんでした。

AdomdErrorResponseException

プロバイダーから返された XML が有効なエラー応答ではありませんでした。

関連項目

参照

CellSet クラス

Microsoft.AnalysisServices.AdomdClient 名前空間