com.esri.arcgis.catalog
Interface IGxGDSConnection

All Superinterfaces:
Serializable
All Known Implementing Classes:
GxDataServer, IGxGDSConnectionProxy

public interface IGxGDSConnection
extends Serializable

Provides access to members of GxObject that connects to a GeoData Server.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 void attachGeoDatabase(String gdbName, String gdbFileName)
          Attaches a Geodatabase.
 void connect()
          Connects to a GIS Data server.
 void createGeoDatabase(String gdbName, String gdbFileName, int gdbFileSize)
          Creates a new Geodatabase.
 void disconnect()
          Disconnects from a GIS Data server.
 Object getDataServerManager()
          The Data Server Manager object.
 String getServerName()
          The server name.
 boolean isAdministrator()
          Indicates whether the connected user is an administrator or not.
 boolean isConnected()
          Indicates whether the GIS Data server connection has been made.
 void pause()
          Pauses a Database server.
 void restoreGeodatabase(String gdbName, String backupFileName, String dbFileName)
          Restores a backup to the specified Geodatabase.
 void resume()
          Resumes a Database server.
 void start()
          Starts a Database server.
 void stop()
          Stops a Database server.
 

Method Detail

isConnected

boolean isConnected()
                    throws IOException,
                           AutomationException
Indicates whether the GIS Data server connection has been made.

Product Availability

Available with ArcGIS Desktop.

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

isAdministrator

boolean isAdministrator()
                        throws IOException,
                               AutomationException
Indicates whether the connected user is an administrator or not.

Product Availability

Available with ArcGIS Desktop.

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

connect

void connect()
             throws IOException,
                    AutomationException
Connects to a GIS Data server.

Product Availability

Available with ArcGIS Desktop.

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

disconnect

void disconnect()
                throws IOException,
                       AutomationException
Disconnects from a GIS Data server.

Product Availability

Available with ArcGIS Desktop.

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

getServerName

String getServerName()
                     throws IOException,
                            AutomationException
The server name.

Product Availability

Available with ArcGIS Desktop.

Returns:
The serverName
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.

createGeoDatabase

void createGeoDatabase(String gdbName,
                       String gdbFileName,
                       int gdbFileSize)
                       throws IOException,
                              AutomationException
Creates a new Geodatabase.

Product Availability

Available with ArcGIS Desktop.

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

attachGeoDatabase

void attachGeoDatabase(String gdbName,
                       String gdbFileName)
                       throws IOException,
                              AutomationException
Attaches a Geodatabase.

Product Availability

Available with ArcGIS Desktop.

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

restoreGeodatabase

void restoreGeodatabase(String gdbName,
                        String backupFileName,
                        String dbFileName)
                        throws IOException,
                               AutomationException
Restores a backup to the specified Geodatabase.

Product Availability

Available with ArcGIS Desktop.

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

start

void start()
           throws IOException,
                  AutomationException
Starts a Database server.

Product Availability

Available with ArcGIS Desktop.

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

stop

void stop()
          throws IOException,
                 AutomationException
Stops a Database server.

Product Availability

Available with ArcGIS Desktop.

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

resume

void resume()
            throws IOException,
                   AutomationException
Resumes a Database server.

Product Availability

Available with ArcGIS Desktop.

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

pause

void pause()
           throws IOException,
                  AutomationException
Pauses a Database server.

Product Availability

Available with ArcGIS Desktop.

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