Поделиться через


ADSI and WMI Providers in IIS

This section describes how the Active Directory Services Interface (ADSI) and Windows Management Instrumentation (WMI) providers configure the IIS metabase. It is recommended that you read The Role of the Metabase in IIS and Metabase Structure before working with ADSI and WMI in IIS.

The ADSI and WMI providers contain scriptable COM automation objects that wrap around the Admin Base Object (ABO) interfaces to simplify programmatic configuration of the metabase.

You can use ADSI and WMI from COM-compliant languages such as C, C++, Visual Basic, Visual Basic Scripting Edition (VBScript), JScript, and PerlScript to build applications that manage and configure an IIS server.

For example code that uses ADSI or WMI, see Using ADSI to Configure IIS and Using WMI to Configure IIS.

IIS 5.1 and earlier: The WMI provider is not available.

For information about Windows ADSI and WMI classes, see the Active Services Directory Interfaces Platform SDK and the Windows Management Instrumentation Platform SDK.

This section includes the following topics: