Method DropAll
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
DropAll(DropIndexOptions, CancellationToken)
Drops all the indexes.
public virtual void DropAll(DropIndexOptions options, CancellationToken cancellationToken = default)Parameters
options DropIndexOptions
The options.
cancellationToken CancellationToken
The cancellation token.
DropAll(CancellationToken)
Drops all the indexes.
public virtual void DropAll(CancellationToken cancellationToken = default)Parameters
cancellationToken CancellationToken
The cancellation token.
DropAll(IClientSessionHandle, CancellationToken)
Drops all the indexes.
public virtual void DropAll(IClientSessionHandle session, CancellationToken cancellationToken = default)Parameters
session IClientSessionHandle
The session.
cancellationToken CancellationToken
The cancellation token.
DropAll(IClientSessionHandle, DropIndexOptions, CancellationToken)
Drops all the indexes.
public virtual void DropAll(IClientSessionHandle session, DropIndexOptions options, CancellationToken cancellationToken = default)Parameters
session IClientSessionHandle
The session.
options DropIndexOptions
The options.
cancellationToken CancellationToken
The cancellation token.