共用方式為


SPIisWebSite.SPIisServerState Enumeration

Indicates the state of the server that runs Internet Information Services (IIS).

Namespace:  Microsoft.SharePoint.AdministrationOperation
Assembly:  Microsoft.SharePoint.AdministrationOperation (in Microsoft.SharePoint.AdministrationOperation.dll)

Syntax

'Declaration
Public Enumeration SPIisServerState
'Usage
Dim instance As SPIisWebSite.SPIisServerState
public enum SPIisServerState

Members

Member name Description
Starting Specifies that the server is starting. Value = 1.
Started Specifies that the server is started. Value = 2.
Stopping Specifies that the server is stopping. Value = 3.
Stopped Specifies that the server is stopped. Value = 4
Pausing Specifies that the server is pausing. Value = 5.
Paused Specifies that the server is paused. Value = 6.
Continuing Specifies that the server is continuing. Value = 7.

See Also

Reference

Microsoft.SharePoint.AdministrationOperation Namespace