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

IServerObjectAdmin.StopConfiguration Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerObjectAdmin Interface > IServerObjectAdmin.StopConfiguration Method
ArcGIS Developer Help

IServerObjectAdmin.StopConfiguration Method

Stops a server object configuration and shuts down any running instances of server objects defined by the configuration.

[Visual Basic .NET]
Public Sub StopConfiguration ( _
    ByVal Name As String, _
    ByVal TypeName As String _
public void StopConfiguration (
    string Name,
    string TypeName
HRESULT StopConfiguration(
  BSTR Name,
  BSTR TypeName
Name [in]

Name is a parameter of type BSTR TypeName [in]
TypeName is a parameter of type BSTR

Product Availability

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


The StopConfiguration method stops a server object configuration. Stopping a server object configuration both makes the server object configuration unusable by clients (calls to CreateServerObject referencing the configuration will fail), and it also shuts down any of the confiuration's running server objects. If any of those objects are in use and executing requests, they will be interupted and shut down.

You should stop a configuration when you need to change its properties (such as pooling model or recycling model). Use the StartConfiguration method to re-start the configuration.

If you want to stop the confuguration without interupting clients which are making use of server objects, you can pause the configuration using PauseConfiguration and wait until such a time that all server object usage has ended, then call StopConfiguration to stop the configuration.

See Also

IServerObjectAdmin Interface