OLE DB Programmer's Reference

IColumnsInfo2 : IColumnsInfo

The IColumnsInfo2 interface allows a consumer to obtain column names or metadata for the columns in a row or rowset.

When to Implement

IColumnsInfo2 is an optional interface that providers can choose to implement on row or rowset objects.

When to Call

Consumers call IColumnsInfo2::GetRestrictedColumnInfo to obtain the column names or column metadata for a row or rowset. IColumnsInfo2::GetRestrictedColumnInfo can return an array of column names (as column IDs) to be used as input to IRowSchemaChange::DeleteColumns.

Method Description
GetRestrictedColumnInfo Lists column names or column metadata optionally restricted by column name prefix.
(Inherited) All methods of IColumnsInfo.