Share via


DBPROP_HIDDENCOLUMNS

Property group: Rowset

Property set: DBPROPSET_ROWSET

Type: VT_I4

Typical R/W: R

Description: Hidden Column Count

If DBPROP_UNIQUEROWS is VARIANT_TRUE, the DBPROP_HIDDENCOLUMNS property returns the number of additional "hidden" columns added by the provider to uniquely identify rows within the rowset. These columns are returned by IColumnsInfo::GetColumnInfo and IColumnsRowset::GetColumnsRowset. However, they are not included in the count of rows returned by the pcColumns argument returned by IColumnsInfo::GetColumnInfo.

To determine the total number of columns represented in the prgInfo structure returned by IColumnsInfo::GetColumnInfo, including hidden columns, the consumer adds the value of DBPROP_HIDDENCOLUMNS to the count of columns returned from IColumnsInfo::GetColumnInfo in pcColumns. If DBPROP_UNIQUEROWS is VARIANT_FALSE, DBPROP_HIDDENCOLUMNS is zero.

See Also

Reference

Properties (Alphabetical)