|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IGxAGSConnection
Provides access to members of GxObject that connects to an ArcGIS server (AGS).
| Method Summary | |
|---|---|
void |
connect()
Connects to an ArcGIS server. |
void |
disconnect()
Disconnects from an ArcGIS server. |
void |
editServerProperties(int hParent,
short activePage)
Presents a modal dialog to allow editing the default properties of the server. |
IAGSServerConnectionName |
getAGSServerConnectionName()
The associated AGS server connection name object. |
String |
getFileName()
Path to the AGS connection file. |
Object |
getSelectedServerObjects()
The selected server objects. |
boolean |
isConnected()
Indicates whether the AGS connection has been made. |
void |
loadFromFile(String path)
Loads an AGS connection file. |
void |
saveToFile(String path)
Writes an AGS connection file. |
void |
setAGSServerConnectionNameByRef(IAGSServerConnectionName serverConnName)
The associated AGS server connection name object. |
void |
setSelectedServerObjects(Object selectedObjects)
The selected server objects. |
| Method Detail |
|---|
boolean isConnected()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void connect()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void disconnect()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void loadFromFile(String path)
throws IOException,
AutomationException
path - The path (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void saveToFile(String path)
throws IOException,
AutomationException
path - The path (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getFileName()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IAGSServerConnectionName getAGSServerConnectionName()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setAGSServerConnectionNameByRef(IAGSServerConnectionName serverConnName)
throws IOException,
AutomationException
serverConnName - A reference to a com.esri.arcgis.gisclient.IAGSServerConnectionName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
Object getSelectedServerObjects()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setSelectedServerObjects(Object selectedObjects)
throws IOException,
AutomationException
selectedObjects - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void editServerProperties(int hParent,
short activePage)
throws IOException,
AutomationException
hParent - The hParent (A COM typedef) (in)activePage - The activePage (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 | ||||||||