com.esri.arcgis.catalog
Interface IGxGeodatabase

All Superinterfaces:
Serializable
All Known Implementing Classes:
GxGDSGeodatabase

public interface IGxGeodatabase
extends Serializable

Provides access to members of GxObject that connect to an Geodatabase object.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 void backup(String backupName, String backupFileName, String description, boolean[] isSimpleRecoveryModel)
          Backs up a Geodatabase from a Data server.
 void detachGeodatabase()
          Detach a Geodatabase from a Data server.
 Object getDataServerManager()
          The Data Server Manager object.
 void getGeodatabaseName(String[] name)
          The Geodatabase name.
 void getProperties(String[] owner, Object[] creationDate, int[] size, String[] fileLocation, Object[] lastBackup)
          Backup information.
 void upgrade()
          Upgrades Geodatabase.
 

Method Detail

getGeodatabaseName

void getGeodatabaseName(String[] name)
                        throws IOException,
                               AutomationException
The Geodatabase name.

Product Availability

Available with ArcGIS Desktop.

Parameters:
name - The name (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

detachGeodatabase

void detachGeodatabase()
                       throws IOException,
                              AutomationException
Detach a Geodatabase from a Data server.

Product Availability

Available with ArcGIS Desktop.

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

backup

void backup(String backupName,
            String backupFileName,
            String description,
            boolean[] isSimpleRecoveryModel)
            throws IOException,
                   AutomationException
Backs up a Geodatabase from a Data server.

Product Availability

Available with ArcGIS Desktop.

Parameters:
backupName - The backupName (in)
backupFileName - The backupFileName (in)
description - The description (in)
isSimpleRecoveryModel - The isSimpleRecoveryModel (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getProperties

void getProperties(String[] owner,
                   Object[] creationDate,
                   int[] size,
                   String[] fileLocation,
                   Object[] lastBackup)
                   throws IOException,
                          AutomationException
Backup information.

Product Availability

Available with ArcGIS Desktop.

Parameters:
owner - The owner (out: use single element array)
creationDate - A Variant (out: use single element array)
size - The size (out: use single element array)
fileLocation - The fileLocation (out: use single element array)
lastBackup - A Variant (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

upgrade

void upgrade()
             throws IOException,
                    AutomationException
Upgrades Geodatabase.

Product Availability

Available with ArcGIS Desktop.

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDataServerManager

Object getDataServerManager()
                            throws IOException,
                                   AutomationException
The Data Server Manager object.

Product Availability

Available with ArcGIS Desktop.

Returns:
A reference to another Object (IUnknown)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.