共用方式為


IIsWebServer (WMI)

This class corresponds to the IIsWebServer IIS Admin object, and contains the methods and read-only properties for the object.

CIM_LogicalElement (WMI)

Methods in Vtable Order

The IIsWebServer object defines the following methods, in addition to those inherited from CIM_LogicalElement (WMI).

Method

Description

IIsWebServer.Start (WMI)

The Start method starts the Web site that is referenced by the object.

IIsWebServer.Stop (WMI)

The Stop method stops the Web site that is referenced by the object.

IIsWebServer.Continue (WMI)

The Continue method continues the paused Web site that is referenced by the object.

IIsWebServer.Pause (WMI)

The Pause method pauses the Web site that is referenced by the object.

Properties

The IIsWebServer object defines the following properties, in addition to those inherited from CIM_LogicalElement (WMI).

Property

Data type

Description

AppIsolated

SINT32

See AppIsolated in the Metabase Property Reference.

AppPackageID

String

See AppPackageID in the Metabase Property Reference.

AppPackageName

String

See AppPackageName in the Metabase Property Reference.

AppRoot

String

See AppRoot in the Metabase Property Reference.

Name

String

The Name property defines the label by which the object is known. When subclassed, the Name property can be overridden to be a Key property.

ServerState

SINT32

See ServerState in the Metabase Property Reference.

SSLCertHash[]

array of uint8

See SSLCertHash in the Metabase Property Reference.

Requirements

Server: Requires or Windows Server 2003.

Product: IIS

See Also