MongoCollectionDropAllIndexes Method |
Drops all indexes on this collection.
Namespace: MongoDB.DriverAssembly: MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.2.0
Syntax public virtual CommandResult DropAllIndexes()
Public Overridable Function DropAllIndexes As CommandResult
abstract DropAllIndexes : unit -> CommandResult
override DropAllIndexes : unit -> CommandResult
Return Value
Type:
CommandResultA
CommandResult.
See Also