com.esri.arcgis.catalog
Interface IGxDatabase

All Superinterfaces:
Serializable
All Known Implementing Classes:
GxDatabase, GxGDSGeodatabase

public interface IGxDatabase
extends Serializable

Provides access to members that manage the properties of a GX database object.

Superseded By

IGxDatabase2

Product Availability

Available with ArcGIS Desktop.


Method Summary
 void disconnect()
          Disconnects or releases the connection to the underlying database.
 IWorkspace getWorkspace()
          The associated workspace.
 IWorkspaceName getWorkspaceName()
          The workspace name.
 boolean isConnected()
          Indicates if the database is connected.
 boolean isRemoteDatabase()
          Indicates if the database is remote.
 void setWorkspaceNameByRef(IWorkspaceName workspaceName)
          The workspace name.
 

Method Detail

setWorkspaceNameByRef

void setWorkspaceNameByRef(IWorkspaceName workspaceName)
                           throws IOException,
                                  AutomationException
The workspace name.

Product Availability

Available with ArcGIS Desktop.

Parameters:
workspaceName - A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWorkspaceName

IWorkspaceName getWorkspaceName()
                                throws IOException,
                                       AutomationException
The workspace name.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspaceName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWorkspace

IWorkspace getWorkspace()
                        throws IOException,
                               AutomationException
The associated workspace.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspace
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isRemoteDatabase

boolean isRemoteDatabase()
                         throws IOException,
                                AutomationException
Indicates if the database is remote.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

isConnected

boolean isConnected()
                    throws IOException,
                           AutomationException
Indicates if the database is connected.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

disconnect

void disconnect()
                throws IOException,
                       AutomationException
Disconnects or releases the connection to the underlying database.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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