Interface IServerObjectConfigurationStatus

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

Provides access to properties of a server object configuration's status to administrators.

[Guid("096B178F-2576-4AEF-9CFA-8107D529BBFF")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IServerObjectConfigurationStatus

Remarks

The IServerObjectConfigurationStatus interface provides access to information about a server object configurations status to administrators. In order to access this interface, you must connect to the GIS server as a user who is a member of the agsadmin user group.

The IServerObjectConfigurationStaus interface provides information as to the status of the confiruation (whether it is started, stopped, etc), and informaiton about the number of instances of the configutation that are running and the number of those instances that are in use by applications.

Properties

InstanceCount

Number of instances of server objects for a particular configuration that are currently running in the GIS server.

int InstanceCount { get; }

Property Value

int

Remarks

The InstanceCount is the numner of instances of server objects defined by the server object configuration that are currently running within the server.

InstanceInUseCount

Number of running instances of server objects for a particular configuration that are in currently use by clients of the GIS server.

int InstanceInUseCount { get; }

Property Value

int

Remarks

The InstanceInUseCount is the numbner of instances of server objects defined by the server object configuration that are currently in use by applications. For non-pooled server objects, the InstanceInUseCount will be the same as the InstanceCount.

This property is useful in monitoring server object usage to help you make decisions about increasing or decreasing the MinInstances and MaxInstances for a particular server object configuraiton.

Status

Status of the server object configuration. This status indicates whether the server object configuration is started, stopped, paused, etc.

esriConfigurationStatus Status { get; }

Property Value

esriConfigurationStatus

Remarks

The Status property on IServerObjectConfigurationStatus indicates the current status of the server object configuration. A server object configuration can be in one of the following stagus categories:

Started (esriCSStarted)

Stopped (esriCSStopped)

Paused (esriCSPaused)

Starting (esriCSStarting)

Stopping (esriCSStopping)