Поделиться через


CXMLAccessor::GetXMLColumnData

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

HRESULT GetXMLColumnData( 
   CSimpleStringW& strOutput  
) throw( );

Параметры

  • 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.

Возвращаемое значение

One of the standard HRESULT values.

Заметки

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>

Требования

Header: atldbcli.h

См. также

Основные понятия

CXMLAccessor Class

CXMLAccessor Members