Share via


IISWebService::RemoveApplication

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

Note

This method is only available on IIS 6.0 or later.

HRESULT RemoveApplication(
  BSTR  bstrAppName
);

Parameters

  • bstrAppName
    [in] String containing the application name to disable. This is the fifth token, ApplicationName, in the WebSvcExtRestrictionList metabase property.

Return Value

The method returns an HRESULT. Possible values include, but are not limited to, S_OK, which indicates that the method succeeded.

Requirements

Server: Requires Windows Server 2003.

Product: IIS

Header: Declared in iiisext.h; include iisext_i.c.

See Also

Concepts

IIS ADSI Provider Interfaces

Using ADSI to Configure IIS in a C++ Application

IIS Constants and Header Files

WebSvcExtRestrictionList

ApplicationDependencies

Adding Web Service Extensions to the Restriction List

Installing and Uninstalling CGI and ISAPI Extensions