ArcObjects Library Reference (Server)  

IServerObjectConfigurationStatus.InstanceInUseCount Property

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

[Visual Basic .NET]
Public ReadOnly Property InstanceInUseCount As Integer
[C#]
public int InstanceInUseCount {get;}
[C++]
HRESULT get_InstanceInUseCount(
  long* pVal
);
[C++]

Parameters

pVal [out, retval]   pVal is a parameter of type long

Product Availability

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

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.

See Also

IServerObjectConfigurationStatus Interface