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


IServerMachineStatus.InstanceCount Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Server)  

IServerMachineStatus.InstanceCount Property

The number of server object instances currently running in this SOC machine.

[Visual Basic .NET]
Public Function get_InstanceCount ( _
    ByVal access As esriAccessLevel _
) As Integer
[C#]
public int get_InstanceCount (
    esriAccessLevel access
);
[C++]
HRESULT get_InstanceCount(
  esriAccessLevel access,
  System.Int32* pVal
);
[C++]

Parameters access [in]
access is a parameter of type esriAccessLevel pVal [out, retval]
pVal is a parameter of type long*

Product Availability

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

See Also

IServerMachineStatus Interface