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.Enable Method (ArcObjects .NET 10.5 SDK) |
Enables a disabled SOM.
[Visual Basic .NET]
Public Sub Enable ( _
)
[C#] public void Enable ( );
[C++]
HRESULT Enable(
void
);
The Enable method of the IServerObjectAdmin2 interface enables a previously disabled SOM. Using this method on a currently enabled SOM has no effect. Server objects that had been disabled will be immediately available.