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


IServerStatus.Enabled Property (ArcObjects .NET 10.4 SDK)
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