ArcObjects Library Reference (Server)  

IServerObjectConfiguration.MaxInstances Property

The maximum number of server object instances for a server object configuration.

[Visual Basic .NET]
Public Property MaxInstances As Integer
public int MaxInstances {get; set;}
HRESULT get_MaxInstances(
  long* instances
HRESULT put_MaxInstances(
  long instances


instances [out, retval]   instances is a parameter of type long instances [in]   instances is a parameter of type long

Product Availability

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


The MaxInstances property indicates the maximum number of server objects that can be running and handle requests at any one time. if the maximum number of server objects are running and busy, additional requests will be queued until a server object becomes free.

For a pooled server object, the MaxInstances represents the maximum simultaneus requests that can be processed by the server object configuration. For a non-pooled server object, the MaxInstances represents the maximum number of simlutaneus application users of that particular server object configuration.

The MaxInstances property must be greater than 0 and must be greater than the MinInstances property.

See Also

IServerObjectConfiguration Interface