Share via


IIsWebService (WMI)

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

Parent Class

Win32_Service (WMI)

Methods

The table below lists methods other than those that are inherited from the parent classes:

Method Name Return Data Type Description
IIsWebService.CreateNewSite (WMI) String

You can use the CreateNewSite method to create a new Web site on an IIS 6.0 server. CreateNewSite works in the following way:

  • If the method succeeds, it returns a reference to the site identification number for the newly created site.
  • If the method fails to create a site, it returns an error. This may happen if the ServerId does not exist. If a site already exists with the ServerComment that you want to use, an error is not returned because the new site can still be created with a unique site identification number. See the Remarks.
IIsWebService.ListExtensionFiles (WMI) void
IIsWebService.AddExtensionFile (WMI) void
IIsWebService.DeleteExtensionFileRecord (WMI) void
IIsWebService.EnableExtensionFile (WMI) void
IIsWebService.DisableExtensionFile (WMI) void
IIsWebService.EnableWebServiceExtension (WMI) void
IIsWebService.DisableWebServiceExtension (WMI) void
IIsWebService.ListWebServiceExtensions (WMI) void
IIsWebService.EnableApplication (WMI) void
IIsWebService.RemoveApplication (WMI) void
IIsWebService.ListApplications (WMI) void
IIsWebService.AddDependency (WMI) void
IIsWebService.RemoveDependency (WMI) void
IIsWebService.GetCurrentMode (WMI) SINT32

The GetCurrentMode method of the IIsWebService (WMI) object returns the mode under which the Web service is running; either the IIS 5.0 Isolation Mode or the new Worker Process Isolation Mode.

Properties

The table below lists properties other than those that are inherited from parent classes:

Property Name Data Type Description
AppRoot String

Please see AppRoot in the Metabase Property Reference.

AppIsolated SINT32

Please see AppIsolated in the Metabase Property Reference.

AppPackageID String

Please see AppPackageID in the Metabase Property Reference.

AppPackageName String

Please see AppPackageName in the Metabase Property Reference.

SSLCertHash[] Array of UINT8

Please see SSLCertHash in the Metabase Property Reference.

AuthChangeURL String

Please see AuthChangeURL in the Metabase Property Reference.

AuthExpiredURL String

Please see AuthExpiredURL in the Metabase Property Reference.

AuthNotifyPwdExpURL String

Please see AuthNotifyPwdExpURL in the Metabase Property Reference.

AuthExpiredUnsecureURL String

Please see AuthExpiredUnsecureURL in the Metabase Property Reference.

AuthNotifyPwdExpUnsecureURL String

Please see AuthNotifyPwdExpUnsecureURL in the Metabase Property Reference.