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


IServerObjectAdmin2.Disable Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Server)  

IServerObjectAdmin2.Disable Method

Disables a started SOM.

[Visual Basic .NET]
Public Sub Disable ( _
)
[C#]
public void Disable (
);
[C++]
HRESULT Disable(
void
);

Product Availability

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

Remarks

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