Method DropDatabase
DropDatabase(string, CancellationToken)
Drops the database with the specified name.
void DropDatabase(string name, CancellationToken cancellationToken = default)
Parameters
name
stringThe name of the database to drop.
cancellationToken
CancellationTokenThe cancellation token.
DropDatabase(IClientSessionHandle, string, CancellationToken)
Drops the database with the specified name.
void DropDatabase(IClientSessionHandle session, string name, CancellationToken cancellationToken = default)
Parameters
session
IClientSessionHandleThe session.
name
stringThe name of the database to drop.
cancellationToken
CancellationTokenThe cancellation token.