Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at CXMLAccessor::GetXMLColumnData.
Retrieves the column type information of a table as XML-formatted string data, by column.
Syntax
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