# classname_indexname_drop

This function removes the tree index for an index declared as voluntary.

### Prototype

>         MCO_RET	classname_indexname_drope(	/*IN*/ mco_trans_h trans );

### Arguments

trans | A transaction handle returned by `mco_trans_start()`

### Description

This function removes the tree index for an index declared as voluntary

### Return Codes

MCO_S_OK | The index was dropped successfully
MCO_E_ACCESS | Transaction is not `MCO_READ_WRITE`