This example creates a new Index object and enumerates its properties.
See How to Build the DAO Method Samples.
If you have installed the DAO SDK, see InstallDirectory\DAOSDK\SAMPLES\CreateIndex.cpp.