IIsWebService.AddDependency (WMI)

The AddDependency method adds an entry for a single application to the ApplicationDependencies metabase property. You can specify a group that the application is dependent upon, or specify a new group name.

Note

This method is only available on IIS 6.0 or later.

objIISWebService.AddDependency(
  string Application
  string GroupID
)

Parameters

  • Application
    [in] String containing the name of the application to which the dependency is added. This is the first token in the ApplicationDependencies metabase property.

  • GroupID
    [in] String containing the name of the GroupID to add to the ApplicationDependencies 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