Context. Delete Database Method
Deletes the database that is specified as the database in the current data source connection.
public: void DeleteDatabase();
public void DeleteDatabase ();
member this.DeleteDatabase : unit -> unit
Public Sub DeleteDatabase ()
Most of the work is delegated to the DeleteDatabase method.
For more information, see Working with Data Definition Language.