This document is archived and information here might be outdated.  Recommended version.


IServerObjectConfigurationStatus.InstanceInUseCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerObjectConfigurationStatus Interface > IServerObjectConfigurationStatus.InstanceInUseCount Property
ArcGIS Developer Help

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(
  System.Int32* 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