Compartilhar via


CAccessorRowset::GetColumnInfo

Gets column information from the opened rowset.

HRESULT GetColumnInfo( 
   DBORDINAL* pulColumns, 
   DBCOLUMNINFO** ppColumnInfo, 
   LPOLESTR* ppStrings  
) const; 
HRESULT GetColumnInfo( 
   DBORDINAL* pColumns, 
   DBCOLUMNINFO** ppColumnInfo  
);

Parameters

See IColumnsInfo::GetColumnInfo in the OLE DB Programmer's Reference.

Return Value

A standard HRESULT.

Remarks

The user must free the returned column information and string buffer. Use the second version of this method when you use CDynamicAccessor and need to override the bindings.

For more information, see IColumnsInfo::GetColumnInfo in the OLE DB Programmer's Reference.

Requirements

Header: atldbcli.h

See Also

Reference

CAccessorRowset Class