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


IServerStatus.Enabled Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerStatus Interface > IServerStatus.Enabled Property
ArcGIS Developer Help

IServerStatus.Enabled Property

Indicates if the server is started and enabled(true) or not(false).

[Visual Basic .NET]
Public ReadOnly Property Enabled As Boolean
[C#]
public bool Enabled {get;}
[C++]
HRESULT get_Enabled(
  Boolean* pVal
);
[C++]
Parameters
pVal [out, retval]

pVal is a parameter of type bool*

Product Availability

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

See Also

IServerStatus Interface