Interface IAGSServerConnectionAdmin

Namespace
ESRI.ArcGIS.GISClient
Assembly
ESRI.Server.GISClient.dll

Provides access to the server object manager, server object admin and server object configurations for the GIS server.

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("2609D396-4C06-4C35-9AE3-DF690ED88506")]
public interface IAGSServerConnectionAdmin

Remarks

The IAGSServerConnectionAdmin interface provides a bridge between the GISClient objects and the Server object library. IAGSServerConnection is supported only on AGSServerConnection objects that are connections made directly to servers over a LAN. QI for IAGSServerConnection will fail on AGSServerConnections that are connections to web service catalogs.

If the application using this interface is running as a user in the GIS server's users group agsusers, it can use the ServerObjectManager property to get a reference to the GIS server's ServerObjectManager. Using the ServerObjectManager , you can create server contexts, works with ArcObjects in the GIS server and so on.

If the application using this interface is running as a user in the GIS server's administrators group (agadmin), it can use the ServerObjectAdmin property to get a reference to the GIS server's ServerObjectAdmin. Using the ServerObjectAdmin , you can perform administration tasks such as starting and stopping serever objects, and so on.

The ServerObjectConfiguration property will return the ServerObjectConfiguration for the specified server object and type. The application must be running as a member of the GIS server's administrators group (agadmin) to succesfully get this property.

Properties

ServerObjectAdmin

The server object admin for the connected GIS server.

IServerObjectAdmin ServerObjectAdmin { get; }

Property Value

IServerObjectAdmin

Remarks

If the application using this interface is running as a user in the GIS server's administrators group (agadmin), it can use the ServerObjectAdmin property to get a reference to the GIS server's ServerObjectAdmin. Using the ServerObjectAdmin , you can perform administration tasks such as starting and stopping serever objects, and so on.

ServerObjectConfiguration[string, string]

The server object configuration with the specified Name and TypeName.

IServerObjectConfiguration ServerObjectConfiguration[string Name, string Type] { get; }

Parameters

Name string
Type string

Property Value

IServerObjectConfiguration

Remarks

The ServerObjectConfiguration property will return the ServerObjectConfiguration for the specified server object and type. The application must be running as a member of the GIS server's administrators group (agadmin) to succesfully get this property.

You can use the ServerObjectNames propety on IAGSServerConnection to get a list of the server objects configured in the server, then use the names and types as inputs to the ServerObjectConfiguration property. Once you have a ServerObjectConfiguration, you can update it, check its status and so on.

ServerObjectManager

The server object manager for the connected GIS server.

IServerObjectManager ServerObjectManager { get; }

Property Value

IServerObjectManager

Remarks

If the application using this interface is running as a user in the GIS server's users group (agsusers), it can use the ServerObjectManager property to get a reference to the GIS server's ServerObjectManager. Using the ServerObjectManager , you can create server contexts, works with ArcObjects in the GIS server and so on.