Table of Contents

Method DropIndexByName

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

DropIndexByName(string)

Drops an index on this collection.

public virtual CommandResult DropIndexByName(string indexName)

Parameters

indexName string

The name of the index.

Returns

CommandResult

A CommandResult.