IGeodatabaseRelease Interface

Provides access to members that provide information about the release version of a geodatabase.

When To Use

Use this interface to determine what version of the geodatabase system tables a particular geodatabase has. If the geodatabase is not the current release, it may not support all of the functionality of the geodatabase at the software release you are running.

Members

Name Description
Read-only property BugfixVersion Geodatabase bugfix version level.
Read-only property CanUpgrade Indicates if the geodatabase can be upgraded with this interface. If not, then another utility must be used to upgrade it.
Read-only property CurrentRelease Indicates if the geodatabase at the current release level.
Read-only property ForceCurrentRelease Indicates if the geodatabase at the current release level.
Read-only property MajorVersion Geodatabase major version level.
Read-only property MinorVersion Geodatabase minor version level.
Method Upgrade Upgrade the database to the current release level.

IGeodatabaseRelease.BugfixVersion Property

Geodatabase bugfix version level.

Public ReadOnly Property BugfixVersion As Integer
public int BugfixVersion {get;}

IGeodatabaseRelease.CanUpgrade Property

Indicates if the geodatabase can be upgraded with this interface. If not, then another utility must be used to upgrade it.

Public ReadOnly Property CanUpgrade As Boolean
public bool CanUpgrade {get;}

Remarks

Returns Truefor personal and File geodatabases, and Falsefor ArcSDE geodatabases.

IGeodatabaseRelease.CurrentRelease Property

Indicates if the geodatabase at the current release level.

Public ReadOnly Property CurrentRelease As Boolean
public bool CurrentRelease {get;}

IGeodatabaseRelease.ForceCurrentRelease Property

Indicates if the geodatabase at the current release level.

Public ReadOnly Property ForceCurrentRelease As Boolean
public bool ForceCurrentRelease {get;}

IGeodatabaseRelease.MajorVersion Property

Geodatabase major version level.

Public ReadOnly Property MajorVersion As Integer
public int MajorVersion {get;}

IGeodatabaseRelease.MinorVersion Property

Geodatabase minor version level.

Public ReadOnly Property MinorVersion As Integer
public int MinorVersion {get;}

IGeodatabaseRelease.Upgrade Method

Upgrade the database to the current release level.

Public Sub Upgrade ( _
)
public void Upgrade (
);

Remarks

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.

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.

Classes that implement IGeodatabaseRelease

Classes Description
Workspace Workspace Object.

Remarks

IGeodatabaseReleasecan be used to both check and update geodatabase system table release version for personal geodatabases. For ArcSDE geodatabases, IGeodatabaseReleasecan be used to check the current release level, but cannot be used to upgrade the release version. A separate utility is required for upgrading the geodatabase release version for ArcSDE geodatabases.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.