ArcObjects Library Reference  (Server)    

IServerObjectConfiguration.MinInstances Property

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

[Visual Basic 6.0]
Property MinInstances As Long
[Visual Basic .NET]
Public Property MinInstances As Integer
[C#]
public int MinInstances {get; set;}
[Java]
public int getMinInstances()
throws
    IOException,
    AutomationException
[Java]
public void setMinInstances(
Long MinInstances
)
throws
    IOException,
    AutomationException
[C++]
HRESULT get_MinInstances(
  long* instances
);
[C++]
HRESULT put_MinInstances(
  long instances

);

[C++]

Parameters

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.

Remarks

The MinInstances property represents the number of server object instances that are pre-loaded when the server object configuration is started. The GIS server will ensure that the minimum number of instances are always running within the server for a given configuration.

When there are more simultaneous requests that server object instances running, additional server object instances will be started until MaxInstances is reach.

The MinInstances property must be less than the MaxInstances property.

See Also

IServerObjectConfiguration Interface