ServerOperation.prepareDropDatabase

gda.server_operation.ServerOperation prepareDropDatabase(string provider, string dbName = null)

Creates a new #GdaServerOperation object which contains the specifications required to drop a database. Once these specifications provided, use [gda.server_operation.ServerOperation.performDropDatabase] to perform the database creation.

If db_name is left null, then the name of the database to drop will have to be set in the returned #GdaServerOperation using [gda.server_operation.ServerOperation.setValueAt].

Parameters

providerthe database provider to use
dbNamethe name of the database to drop, or null

Returns

new #GdaServerOperation object, or null if the provider does not support database

destruction

Throws

[ServerOperationException]