IISWebService::EnableWebServiceExtension
The EnableWebServiceExtension method sets the AllowDenyFlag flag in the WebSvcExtRestrictionList metabase property to 1 (allow) for any extension belonging to the specified GroupID.
Note
This method is only available on IIS 6.0 or later.
HRESULT EnableWebServiceExtension(
BSTR bstrExtension
);
Parameters
- bstrExtension
[in] String containing the group name. This is the fourth token, GroupID, 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
Using ADSI to Configure IIS in a C++ Application
IIS Constants and Header Files