Database upgrades are done in place and are destructive. For example, if pages need to be allocated and no disk space is available, the database may be left corrupted. Backups should be made before databases are upgraded. See Upgrading databases in the Programmer's Reference Guide for more information.

Overload List

  NameDescription
Upgrade(String, DatabaseConfig)
Upgrade all of the databases included in the file file, if necessary. If no upgrade is necessary, Upgrade always returns successfully.
Upgrade(String, DatabaseConfig, Boolean)
Upgrade all of the databases included in the file file, if necessary. If no upgrade is necessary, Upgrade always returns successfully.

See Also