com.esri.arcgis.catalogUI
Interface IAGSConnectionAdminDialog

All Superinterfaces:
Serializable
All Known Implementing Classes:
AddAGSDialog, AddAGSDiscoveryDialog, AGSConnectionAdminDialog

public interface IAGSConnectionAdminDialog
extends Serializable

Provides access to members that control the Connection Admin Dialog.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 IAGSServerConnection doModalCreateServerConnection(int hParent, Object[] selectedResources)
          Displays the dialog to create a new server connection.
 void doModalUpdateServerConnection(int hParent, Object[] selectedResources, IGxAGSConnection[] ppGxAGSConn)
          Displays the dialog to update an existing server connection.
 

Method Detail

doModalCreateServerConnection

IAGSServerConnection doModalCreateServerConnection(int hParent,
                                                   Object[] selectedResources)
                                                   throws IOException,
                                                          AutomationException
Displays the dialog to create a new server connection.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
hParent - The hParent (A COM typedef) (in)
selectedResources - A Variant (in/out: use single element array)
Returns:
A reference to a com.esri.arcgis.gisclient.IAGSServerConnection
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModalUpdateServerConnection

void doModalUpdateServerConnection(int hParent,
                                   Object[] selectedResources,
                                   IGxAGSConnection[] ppGxAGSConn)
                                   throws IOException,
                                          AutomationException
Displays the dialog to update an existing server connection.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
hParent - The hParent (A COM typedef) (in)
selectedResources - A Variant (in/out: use single element array)
ppGxAGSConn - A reference to a com.esri.arcgis.catalog.IGxAGSConnection (in/out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.