|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILocalDatabaseCompact
Provides access to members for compacting a file or personal geodatabase.
ILocalDatabaseCompact is an optional interface supported by AccessWorkspaceFactories and FileGDBWorkspaceFactories that allows compaction of an Access database using the services of the Jet Engine or compaction of the files contained within a File Geodatabase workspace.
After using a Personal or File geodatabase, the database may become fragmented on disk. Compact rearranges how a fragmented Personal or File geodatabase is stored on disk. Compacting a Personal or File geodatabase often reduces its size and improves its performance.
The Compact method on ILocaDatabaseCompact takes a WorkspaceName object as an argument, so its not necessary to open the workspace before compacting it. The IDatabaseCompact interface on a file and personal geodatabase workspace also supports a Compact method.
Method Summary | |
---|---|
void |
compact(IWorkspaceName name)
Compacts the database. |
Method Detail |
---|
void compact(IWorkspaceName name) throws IOException, AutomationException
name
- A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)
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 |