|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGeodatabaseRelease
Provides access to members that provide information about the release version of a geodatabase.
IGeodatabaseRelease can be used to both check and update geodatabase system table release version for personal geodatabases. For ArcSDE geodatabases, IGeodatabaseRelease can 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.
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.
Method Summary | |
---|---|
int |
getBugfixVersion()
Geodatabase bugfix version level. |
int |
getMajorVersion()
Geodatabase major version level. |
int |
getMinorVersion()
Geodatabase minor version level. |
boolean |
isCanUpgrade()
Indicates if the geodatabase can be upgraded with this interface. |
boolean |
isCurrentRelease()
Indicates if the geodatabase at the current release level. |
void |
upgrade()
Upgrade the database to the current release level. |
Method Detail |
---|
boolean isCanUpgrade() throws IOException, AutomationException
Returns True for personal and File geodatabases, and False for ArcSDE geodatabases.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isCurrentRelease() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getMajorVersion() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getMinorVersion() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getBugfixVersion() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void upgrade() throws IOException, AutomationException
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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |