The DeleteExtensionFileRecord method removes an ISAPI extension or CGI application from the IIS server by deleting the corresponding entry from the WebSvcExtRestrictionList metabase property.
This method is only available on IIS 6.0 or later.
HRESULT DeleteExtensionFileRecord( BSTR bstrExtensionFile );
[in] String containing the name of the extension to delete. This is the second token, ExtensionPath, in the WebSvcExtRestrictionList metabase property.
The method returns an HRESULT. Possible values include, but are not limited to, S_OK, which indicates that the method succeeded.
Server: Requires Windows Server 2003.
Header: Declared in iiisext.h; include iisext_i.c.