Partager via


IIsWebService.DisableExtensionFile (WMI)

The DisableExtensionFile method sets the AllowDenyFlag flag in the WebSvcExtRestrictionList metabase property to 0 (deny) for the specified ExtensionPath.

Note

This method is only available on IIS 6.0 or later.

objIIsWebService.DisableExtensionFile(
      ExtensionFile
)

Parameters

  • ExtensionFile
    [in] String containing the extension file. This is the second token, ExtensionPath, in the WebSvcExtRestrictionList metabase property.

Return Values

This method has no return values.

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