Clustered Property

See Also        Applies To

Sets or returns a value that indicates whether a CdbIndex object represents a clustered index for a table (Microsoft Jet workspaces only).

Syntax

VOIDSetClustered(BOOL bFlag);

BOOLGetClustered(VOID);

Parameters

Type Argument Description
BOOL bFlag TRUE if the CdbIndex object represents a clustered index.

Remarks

Some IISAM desktop database formats use clustered indexes. A clustered index consists of one or more nonkey fields that, taken together, arrange all records in a table in a predefined order. A clustered index provides efficient access to records in a table in which the index values may not be unique.

The Clustered property is read/write for a new CdbIndex object not yet appended to a collection and read-only for an existing CdbIndex object in an Indexes collection.

Notes