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