共用方式為


Using IIS Programmatic Administration

This section describes how to use ADSI, WMI, System.DirectoryServices, System.Web.Management, ABO, and other IIS management interfaces in administration scripts or applications that configure IIS programmatically.

Configuring IIS programmatically is useful when administering multiple servers, Web farms, IIS servers with large numbers of sites and virtual directories, or when making frequent or automated configuration changes. For information about alternatives to programmatic configuration, see Comparison of IIS Administration Features.

Note

Most of the example code in the IIS SDK does not include user input validation or other security measures because emphasis would be taken away from the programming element that the example code is illustrating. If you use code examples from the topics in this section, consider adding the examples from the Writing Secure IIS Applications section to improve security.

This section includes the following topics:

See Also

Concepts

Using IIS Web Development Technologies