ArcObjects Library Reference (Server)  

IGISServerConnection2 Interface

Provides access to methods that connect a specified user to an ArcGIS server.

Product Availability

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

Description

This interface is new at ArcGIS 9.3. It supersedes IGISServerConnection.

Members

Description
Method Connect Connects to the GIS server specified by the machineName.
Method Connect2 Connects the user specified by userInfo to the GIS server given by machineName.
Read-only property ServerObjectAdmin The server object admin for the connected GIS server.
Read-only property ServerObjectManager The server object manager for the connected GIS server.

Inherited Interfaces

Interfaces Description
IGISServerConnection Provides access to members that connect to a GIS server.

CoClasses that implement IGISServerConnection2

CoClasses and Classes Description
GISServerConnection The ServerConnection object for connecting to the GIS server and getting the ServerObjectManager and ServerObjectAdmin.

.NET Samples

Publish an image service and set configurations (Code Files: ISConfig) |