다음을 통해 공유


LoadXml 메서드

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

네임스페이스:  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
A CellSet, created from the xmlTextReaderparameter.

예외

예외 조건
System..::..ArgumentNullException

The xmlTextReader was set to null Nothing nullptr unit null 참조(Visual Basic에서는 Nothing) .

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.