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,
  long* 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