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


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

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