Configuration Objects
The configuration objects perform a variety of functions, such as creating a site, creating resources, importing and exporting resources, manipulating configuration settings on site and global resources, and retrieving Web site properties.
The Configuration Programming Concepts topic describes the major issues relating to the use of configuration objects.
Objects
Visual Basic Reference | C++ Invocation | Description |
---|---|---|
AdminWebServer | AdminWebServer | Allows enumeration of Web sites and their properties. |
AppConfig | AppConfig | Allows retrieval of country/region codes, and names from the site configuration store. |
GlobalConfig | GlobalConfig | Provides methods for the configuration management of global resources. |
GlobalConfig2 | GlobalConfig2 | Provides methods for the configuration management of global resources, including several methods not included in the GlobalConfig object. |
SiteConfig | SiteConfig | Provides for configuration management of site resources. |
SiteConfigReadOnly | SiteConfigReadOnly | Provides methods to read global and site configuration values from the Administration database. |
Examples
Example | Description |
---|---|
Code to Dump Configuration Values | Describes how to use the AppConfig object to retrieve site configuration values. |
Code to Create a Site | Describes how to create a site. |
Code to Create and Manipulate a Global Resource | Describes how to create and manipulate a global resource. |
Code to Create and Manipulate a Site-Level Resource | Describes how to create and manipulate a site-level resource. |
Code to Export a Resource | Describes how to export a resource. |
Code to Import a Resource | Describes how to import a resource. |
Code to Retrieve Web Site Properties | Describes how to read the contents of a server-side file and write those contents to the browser. |
Copyright © 2005 Microsoft Corporation.
All rights reserved.