Method DropAllAsync
DropAllAsync(DropIndexOptions, CancellationToken)
Drops all the indexes.
Task DropAllAsync(DropIndexOptions options, CancellationToken cancellationToken = default)
Parameters
optionsDropIndexOptionsThe options.
cancellationTokenCancellationTokenThe cancellation token.
Returns
- Task
A task.
DropAllAsync(CancellationToken)
Drops all the indexes.
Task DropAllAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenThe cancellation token.
Returns
- Task
A task.
DropAllAsync(IClientSessionHandle, CancellationToken)
Drops all the indexes.
Task DropAllAsync(IClientSessionHandle session, CancellationToken cancellationToken = default)
Parameters
sessionIClientSessionHandleThe session.
cancellationTokenCancellationTokenThe cancellation token.
Returns
- Task
A task.
DropAllAsync(IClientSessionHandle, DropIndexOptions, CancellationToken)
Drops all the indexes.
Task DropAllAsync(IClientSessionHandle session, DropIndexOptions options, CancellationToken cancellationToken = default)
Parameters
sessionIClientSessionHandleThe session.
optionsDropIndexOptionsThe options.
cancellationTokenCancellationTokenThe cancellation token.
Returns
- Task
A task.