ObjectContext.DeleteDatabase Method

Definition

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 ()

Remarks

Most of the work is delegated to the DeleteDatabase method.

For more information, see Working with Data Definition Language.

Applies to

See also