Table of Contents

Method DropOne

Namespace
MongoDB.Driver.Search
Assembly
MongoDB.Driver.dll

DropOne(string, CancellationToken)

Drops an index by its name.

void DropOne(string name, CancellationToken cancellationToken = default)

Parameters

name string

The index name.

cancellationToken CancellationToken

The cancellation token.