Click or drag to resize
MongoIndexManagerBase<TDocument>.DropAllAsync Method
Drops all the indexes.

Namespace: MongoDB.Driver
Assembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.0.1
Syntax
public abstract Task DropAllAsync(
	CancellationToken cancellationToken = null
)

Parameters

cancellationToken (Optional)
Type: System.Threading.CancellationToken
The cancellation token.

Return Value

Type: Task
A task.

Implements

IMongoIndexManager<TDocument>.DropAllAsync(CancellationToken)
See Also