IIsWebService.EnableExtensionFile (WMI)

The EnableExtensionFile method sets the AllowDenyFlag flag in the WebSvcExtRestrictionList metabase property to 1 (allow) for the specified ExtensionPath.

Note

This method is only available on IIS 6.0 or later.

objIIsWebService.EnableExtensionFile(
      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