ServerState

This property presents the current state of the server instance. The states, and the corresponding state code, are as follows: 1 (starting), 2 (started), 3 (stopping), 4 (stopped), 5 (pausing), 6 (paused), or 7 (continuing).

This property should be treated as read-only.

The following table describes this property:

Data type Long
Default value Not applicable
Default inheritance Inheritable

Accessible by IIS Admin Objects:

IIsFtpServer IIsWebServer