tibasSpaceDef_RemoveIndexDef()

Removes a specified index for a specified spaceDef.

Declaration

tibas_status tibasSpaceDef_RemoveIndexDef(
    tibasSpaceDef spaceDef,
    char* indexName)

Parameters

Parameter Description
spaceDef Specify the spaceDef object for the space definition for which you want to remove an index.
indexName Specify the name for the index that you want to remove.

Remarks

Use the tibasSpaceDef_RemoveIndexDef() function to remove a specified index in a specified space definition.

After you have removed the index definition, you can use the tibasIndexDef functions to add a new index or to alter the fields in the index.