ArcObjects Library Reference (GISClient)  

AGSServerConnectionFactory CoClass

A factory object for ArcGIS Server Connections.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Interfaces

Interfaces Description
IAGSServerConnectionFactory Provides access to members that create and open GIS server connections and supply server connection factory information.
IAGSServerConnectionFactory2 Provides access to members that create and open GIS server connections and supply server connection factory information.
ISetDefaultAgsConnectionInfo Provides access to user entered information for an ArcGIS Server Connection.

Remarks

An AGSServerConnectionFactory is a dispenser of AGSServerConnection objects and allows a client to connect to an ArcGIS Server either directly over a LAN or indirectly to a web service catalog specified. An AGSServerConnection represents a GIS server or web service catalog that containe one of more server objects. Types of server object are MapServer and GeocodeServer. An AGSServerConnectionFactory maintains a pool of currently connected, active connections that are being referenced by the application. Connection properties are specified using a PropertySet object and can be saved to a connection file.

AGSServerConnectionFactory is the one and only instance of its class.