Partager via


IIsWebService.DisableWebServiceExtension (WMI)

The DisableWebServiceExtension method sets the AllowDenyFlag flag in the WebSvcExtRestrictionList metabase property to 0 (deny) for any extension belonging to the specified GroupID.

Note

This method is only available on IIS 6.0 or later.

objIIsWebService.DisableWebServiceExtension(
      Extension
)

Parameters

  • Extension
    [in] String containing the extension. This is the fourth token, GroupID, 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