Method DropOne
DropOne(string, CancellationToken)
Drops an index by its name.
void DropOne(string name, CancellationToken cancellationToken = default)
Parameters
name
stringThe name.
cancellationToken
CancellationTokenThe cancellation token.
DropOne(string, DropIndexOptions, CancellationToken)
Drops an index by its name.
void DropOne(string name, DropIndexOptions options, CancellationToken cancellationToken = default)
Parameters
name
stringThe name.
options
DropIndexOptionsThe options.
cancellationToken
CancellationTokenThe cancellation token.
DropOne(IClientSessionHandle, string, CancellationToken)
Drops an index by its name.
void DropOne(IClientSessionHandle session, string name, CancellationToken cancellationToken = default)
Parameters
session
IClientSessionHandleThe session.
name
stringThe name.
cancellationToken
CancellationTokenThe cancellation token.
DropOne(IClientSessionHandle, string, DropIndexOptions, CancellationToken)
Drops an index by its name.
void DropOne(IClientSessionHandle session, string name, DropIndexOptions options, CancellationToken cancellationToken = default)
Parameters
session
IClientSessionHandleThe session.
name
stringThe name.
options
DropIndexOptionsThe options.
cancellationToken
CancellationTokenThe cancellation token.