次の方法で共有


IIisServiceControl Interface

This section describes the IIisServiceControl interface that is used to control the IIS services or reboot the IIS server. The IIisServiceControl is defined in the Iisrsta.h header file. The IIisServiceControl interface implements the following methods.

Methods in Vtable Order

The IIisServiceControl interface inherits the methods of the standard COM interface IUnknown.

The IIisServiceControl interface defines the following methods.

Method

Description

Stop

Stops all Internet services.

Start

Starts all Internet services.

Reboot

Uses InitiateSystemShutdown to cause the system to reboot.

Status

Returns the status of all Internet services.

Kill

Kills all Internet services.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

Header: Declared in iisrsta.h.

See Also

Concepts

IIS Constants and Header Files

Comparison of IIS Administration Features