Class GISServerConnectionClass

Namespace
ESRI.ArcGIS.Server
Assembly
ESRI.Server.Server.dll
[Guid("CD57B642-1B4A-4E02-A1D0-FFDBCF0E5A41")]
[ClassInterface(ClassInterfaceType.None)]
public class GISServerConnectionClass : GISServerConnection, IGISServerConnection2, IGISServerConnection
Inheritance
GISServerConnectionClass
Implements
Inherited Members

Constructors

GISServerConnectionClass()

public GISServerConnectionClass()

Explicit Interface Implementations

Connect(string)

Connects to the GIS server specified by the machineName.

virtual void Connect(string MachineName)

Parameters

MachineName string

Remarks

To succesfully connect to the ArcGIS Server using the Connect method on IGISServerConnection, the user account running the application must be a member of the agsusers user group on the ArcGIS Server.

Connect2(string, string)

Connects the user specified by userInfo to the GIS server given by machineName.

virtual void Connect2(string UserInfo, string MachineName)

Parameters

UserInfo string
MachineName string

IGISServerConnection2_Connect(string)

virtual void IGISServerConnection2_Connect(string MachineName)

Parameters

MachineName string

IGISServerConnection2_ServerObjectAdmin

virtual IServerObjectAdmin IGISServerConnection2_ServerObjectAdmin { get; }

Returns

IServerObjectAdmin

IGISServerConnection2_ServerObjectManager

virtual IServerObjectManager IGISServerConnection2_ServerObjectManager { get; }

Returns

IServerObjectManager

ServerObjectAdmin

The server object admin for the connected GIS server.

virtual IServerObjectAdmin ServerObjectAdmin { get; }

Returns

IServerObjectAdmin

Remarks

The ServerObjectAdmin property returns a reference to the ServerObjectAdmin of the ArcGIS Server. The user account running the application must be a member of the agsadmin user group on the ArcGIS Server to get a reference on the ServerObjectAdmin. If the user account running the application is not in the agsadmin user group, the ServerObjectAdmin property will return an error.

The ServerObjectAdmin provides methods for managing server object configurations, server object types, and the machines that host sever objects in the ArcGIS Server.

ServerObjectManager

The server object manager for the connected GIS server.

virtual IServerObjectManager ServerObjectManager { get; }

Returns

IServerObjectManager

Remarks

The ServerObjectManager property returns a reference to the ServerObjectManager of the ArcGIS Server. The ServerObjectManager supports interfaces for listing the server object configurations and server object types that have been configured on the server. The ServerObjectManager also supports interfaces for creating server contexts for use by the application.