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


IServerObjectAdmin2.Enable 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.Enable Method
ArcGIS Developer Help

IServerObjectAdmin2.Enable Method

Enables a disabled SOM.

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

Product Availability

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

Remarks

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.

See Also

IServerObjectAdmin2 Interface