Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++ Members: Show All Members: Filtered Members: Filtered Members: Filtered

C#
Visual Basic
Visual C++
Include Protected Members
Include Inherited Members

Berkeley DB .NET API Documentation
Database..::.Upgrade Method
Database Class See Also Send Feedback

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

| Name | Description
--- | --- | ---
| 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

Database Class
Database Members
BerkeleyDB Namespace