Method DropDatabase
DropDatabase(string, CancellationToken)
Drops the database with the specified name.
public override sealed void DropDatabase(string name, CancellationToken cancellationToken = default)
Parameters
name
stringThe name of the database to drop.
cancellationToken
CancellationToken The cancellation token.
DropDatabase(IClientSessionHandle, string, CancellationToken)
Drops the database with the specified name.
public override sealed void DropDatabase(IClientSessionHandle session, string name, CancellationToken cancellationToken = default)
Parameters
session
IClientSession Handle The session.
name
stringThe name of the database to drop.
cancellationToken
CancellationToken The cancellation token.