CdbIndex::GetDistinctCount Property

Returns a value that indicates the number of unique values for the CdbIndex object that are included in the associated table (Microsoft Jet workspaces only).

Syntax

LONGGetDistinctCount(VOID);

Remarks

Check the DistinctCount property to determine the number of unique values, or keys, in an index. Any key is counted only once, even though there may be multiple occurrences of that value if the index permits duplicate values. This information is useful in applications that attempt to optimize data access by evaluating index information. The number of unique values is also known as the cardinality of a CdbIndex object.