ArcObjects Library Reference (Server)  

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(
  VARIANT_BOOL* pVal
);
[C++]

Parameters

pVal [out, retval]   pVal is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IServerStatus Interface