|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.geodatabase.IGeodatabaseReleaseProxy
public class IGeodatabaseReleaseProxy
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.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IGeodatabaseReleaseProxy()
|
|
IGeodatabaseReleaseProxy(Object obj)
|
protected |
IGeodatabaseReleaseProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
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 |
removeListener(String iidStr,
Object theListener)
|
void |
upgrade()
Upgrade the database to the current release level. |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IGeodatabaseReleaseProxy()
public IGeodatabaseReleaseProxy(Object obj) throws IOException
IOException
protected IGeodatabaseReleaseProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public boolean isCanUpgrade() throws IOException, AutomationException
Returns True for personal and File geodatabases, and False for ArcSDE geodatabases.
isCanUpgrade
in interface IGeodatabaseRelease
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCurrentRelease() throws IOException, AutomationException
isCurrentRelease
in interface IGeodatabaseRelease
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMajorVersion() throws IOException, AutomationException
getMajorVersion
in interface IGeodatabaseRelease
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMinorVersion() throws IOException, AutomationException
getMinorVersion
in interface IGeodatabaseRelease
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getBugfixVersion() throws IOException, AutomationException
getBugfixVersion
in interface IGeodatabaseRelease
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public 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.
upgrade
in interface IGeodatabaseRelease
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 |