Method DropDatabaseAsync
DropDatabaseAsync(string, CancellationToken)
Drops the database with the specified name.
Parameters
name
stringThe name of the database to drop.
cancellationToken
CancellationToken The cancellation token.
Returns
- Task
A task.
DropDatabaseAsync(IClientSessionHandle, string, CancellationToken)
Drops the database with the specified name.
public Task DropDatabaseAsync(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.
Returns
- Task
A task.