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

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

IServerObjectAdmin2.Disable Method

Disables a started SOM.

[Visual Basic .NET]
Public Sub Disable ( _
public void Disable (
HRESULT Disable(

Product Availability

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


The Disable method of the IServerObjectAdmin2 interface disables a SOM.  This prevents further communication with any server objects until the Enable method is called. Diabling a SOM does not remove server objects from RAM.  When the SOM is enabled again, the server objects will be immediately available.

See Also

IServerObjectAdmin2 Interface