This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerObjectConfigurationStatus Interface > IServerObjectConfigurationStatus.InstanceInUseCount Property (ArcObjects .NET 10.4 SDK) |
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
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.