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

IGxAGSConnection Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Catalog > ESRI.ArcGIS.Catalog > Interfaces > IG > IGxAGSConnection Interface
ArcGIS Developer Help

IGxAGSConnection Interface

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

Product Availability

Available with ArcGIS Desktop.


Name 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.

Classes that implement IGxAGSConnection

Classes Description
GxAGSConnection GxObject that represents an ArcGIS Server connection.