Method DropAllAsync
DropAllAsync(DropIndexOptions, CancellationToken)
Drops all the indexes.
public virtual Task DropAllAsync(DropIndexOptions options, CancellationToken cancellationToken)
Parameters
options
DropIndexOptionsThe options.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task
A task.
DropAllAsync(CancellationToken)
Drops all the indexes.
public abstract Task DropAllAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task
A task.
DropAllAsync(IClientSessionHandle, CancellationToken)
Drops all the indexes.
public virtual Task DropAllAsync(IClientSessionHandle session, CancellationToken cancellationToken = default)
Parameters
session
IClientSessionHandleThe session.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task
A task.
DropAllAsync(IClientSessionHandle, DropIndexOptions, CancellationToken)
Drops all the indexes.
public virtual Task DropAllAsync(IClientSessionHandle session, DropIndexOptions options, CancellationToken cancellationToken)
Parameters
session
IClientSessionHandleThe session.
options
DropIndexOptionsThe options.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task
A task.