次の方法で共有


IISWebService::QueryGroupIDStatus

The QueryGroupIDStatus method returns an array of strings containing the ApplicationNames in the ApplicationDependencies metabase property that depend on a given GroupID.

Note

This method is only available on IIS 6.0 or later.

HRESULT QueryGroupIDStatus(
  BSTR  bstrGroupID,
  VARIANT*  bstrBuffer
);

Parameters

  • bstrGroupID
    [in] String containing the group name. In other words, the second token in the ApplicationDependencies metabase property, which is also the fourth token in the WebSvcExtRestrictionList metabase property.

  • bstrBuffer
    [out] String containing the buffer for an array of names of applications that are dependent upon the group name.

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