Commands: Indexes: Delete

DeleteIndex is used to remove an index from a database.

Syntax

void DeleteIndex(string name);
Parameters
name string name of an index to delete

Example

store.DatabaseCommands.DeleteIndex("Orders/Totals");