Udostępnij za pośrednictwem


CXMLAccessor::GetXMLRowData

Retrieves the entire contents of a table as XML-formatted string data, by row.

HRESULT GetXMLRowData( 
   CSimpleStringW& strOutput, 
   bool bAppend = false  
) throw( );

Parameters

  • strOutput
    [out] A reference to a buffer containing the table data to be retrieved. The data is formatted as string data with XML tag names that match the data store's column names.

  • bAppend
    [in] A Boolean value specifying whether to append a string to the end of the output data.

Return Value

One of the standard HRESULT values.

Remarks

The following shows how the row data is formatted in XML. DATA below represents the row data. Use move methods to move to the desired row.

<row>

<column name>DATA</column name>

</row>

Requirements

Header: atldbcli.h

See Also

Reference

CXMLAccessor Class

Other Resources

CXMLAccessor Members