Upgrade the database to the current release level.
[Visual Basic .NET] Public Sub Upgrade2 ( _ ByVal doPrerequisiteCheck As Boolean, _ ByVal doUpgrade As Boolean, _ ByVal cancelTrack As ITrackCancel, _ ByVal Messages As IGPMessages _ )
[C#] public void Upgrade2 ( bool doPrerequisiteCheck, bool doUpgrade, ITrackCancel cancelTrack, IGPMessages Messages );
[C++]
HRESULT Upgrade2(
VARIANT_BOOL doPrerequisiteCheck,
VARIANT_BOOL doUpgrade,
ITrackCancel* cancelTrack,
IGPMessages* Messages
);
[C++]Parameters
doPrerequisiteCheck [in] doPrerequisiteCheck is a parameter of type VARIANT_BOOL doUpgrade [in] doUpgrade is a parameter of type VARIANT_BOOL cancelTrack [in]cancelTrack is a parameter of type ITrackCancel
Messages [in]Messages is a parameter of type IGPMessages
Product Availability
Description
This method will upgrade the geodatabase system table release version to the current version of the ArcGIS software you are running. It will also augment the geodatabase system tables as required to complete the upgrade. An exclusive lock on the geodatabase is required to perform the upgrade. As opposed to IGeodatabaseRelease.Upgrade, this method will run against all types of geodatabases; personal, file and ArcSDE.
Upgrading a pre-ArcGIS 9.2 (low precision) geodatabase will not convert existing datasets within the geodatabase to high precision. In order to convert datasets from Low to High precision, use the IGeoDatasetSchemaEdit2::AlterResolution method.
Once the geodatabase has been upgraded, it is not usable in older versions of the software. Use the IGeodatabaseRelease2::DatasetSupported property to determine if the creation and use of particular datasets are supported within a geodatabase.