'Declaration Public Overloads Function DeleteDatabase( _ ByVal ignoreErrors As Boolean, _ ByVal deleteSchema As Boolean _ ) As Boolean
public bool DeleteDatabase( bool ignoreErrors, bool deleteSchema )
Parameters
- ignoreErrors
- If set to true, SQL execution errors will be ignored.
- deleteSchema
If set to true, the behaviour is the following:
- DROP DATABASE statement is generated for SQL Server.
- DROP DATABASE statement is generated for MySQL.
- DROP SCHEMA statement is generated for PostgreSQL.
- DROP USER statement is generated Oracle.
- the database file is removed from file system in case of SQLite.
Return Value
False, if there were errors during execution; true, otherwise.