This document is archived and information here might be outdated.  Recommended version.


IGxAGSConnection Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Catalog)  

IGxAGSConnection Interface

Provides access to members of GxObject that connects to an ArcGIS server (AGS).

Product Availability

Available with ArcGIS Desktop.

Members

Description
Read/write property AGSServerConnectionName The associated AGS server connection name object.
Method Connect Connects to an ArcGIS server.
Method Disconnect Disconnects from an ArcGIS server.
Method EditServerProperties Presents a modal dialog to allow editing the default properties of the server.
Read-only property FileName Path to the AGS connection file.
Read-only property IsConnected Indicates whether the AGS connection has been made.
Method LoadFromFile Loads an AGS connection file.
Method SaveToFile Writes an AGS connection file.
Read/write property SelectedServerObjects The selected server objects.

CoClasses that implement IGxAGSConnection

CoClasses and Classes Description
GxAGSConnection GxObject that represents an ArcGIS Server connection.