IIsWebService (WMI)
This class corresponds to the IIsWebService IIS Admin object, and contains the methods and read-only properties for the object.
Parent Class
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:
|
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. |
Related Topics
- For more information about the IIS WMI Provider, see Using the IIS WMI Provider.
- For detailed examples of scripts that use the properties and methods of the Windows WMI provider to access the IIS WMI provider, see Module 3: Writing Administration Scripts that use WMI of the IIS WMI Provider Tutorial.
- For basic examples in VBScript, JScript, and Perl, see Code Examples to Configure Metabase Properties.
- Your installation of IIS 6.0 includes command-line administration scripts that manage IIS. See Using Command-Line Administration Scripts.