Partager via


IIsWebService.GetCurrentMode (WMI)

The GetCurrentMode method returns the mode under which the World Wide Web Publishing Service (WWW service) is running; either the IIS 5.0 isolation mode or the new worker process isolation mode.

objIIsWebService.GetCurrentMode()

Return Values

Returns a long integer containing the server mode. Returns a 1 if IIS is running in worker process isolation mode, or a 0 if IIS is running in IIS 5.0 isolation mode.

Requirements

Server: Requires or Windows Server 2003.

Product: IIS

See Also

Concepts

IIsWebService (WMI)

Using WMI to Configure IIS

WebSvcExtRestrictionList

ApplicationDependencies

Adding Web Service Extensions to the Restriction List

Installing and Uninstalling CGI and ISAPI Extensions