Share via


CXMLAccessor::GetXMLColumnData

Retrieves the column type information of a table as XML-formatted string data, by column.

HRESULT GetXMLColumnData( 
   CSimpleStringW& strOutput  
) throw( );

Parameters

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

Return Value

One of the standard HRESULT values.

Remarks

The following shows how the column type information is formatted in XML. type specifies the column's data type. Note that the data types are based on OLE DB data types, not those of the database being accessed.

<columninfo>

<column type = I2/> ColumnName

</columninfo>

Requirements

Header: atldbcli.h

See Also

Reference

CXMLAccessor Class