IIndexDefinition

IIndexDefinition exposes simple methods to create and drop indexes from the data source object.

Method Description
CreateIndex Adds a new index to a base table.
DropIndex Drops an index from a base table.

IIndexDefinition::CreateIndex

Adds a new index to a base table. For information on how this interface is implemented, see the OLE DB Programmer’s Reference.

For a description of the index property set properties supported for this interface, see Appendix A.

IIndexDefinition::DropIndex

Drops an index from the base table. For information on how this interface is implemented, see the OLE DB Programmer’s Reference.