This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerObjectAdmin2 Interface > IServerObjectAdmin2.Disable Method (ArcObjects .NET 10.5 SDK) |
Disables a started SOM.
[Visual Basic .NET]
Public Sub Disable ( _
)
[C#] public void Disable ( );
[C++]
HRESULT Disable(
void
);
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.