Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Exposes default configuration settings for applications, application pools, Web sites, and virtual directories on a Web server running IIS.
Syntax
class Server : Object
Methods
The following table lists the methods exposed by the Server class.
Name |
Description |
---|---|
Begins a batch of configuration changes for the specified path. |
|
Ends a batch of configuration changes. |
Properties
The following table lists the properties exposed by the Server class.
Name |
Description |
---|---|
ApplicationDefaults |
A read/write ApplicationElementDefaults value that specifies the default application pool and protocols for new applications. |
ApplicationPoolDefaults |
A read/write ApplicationPoolElementDefaults value that contains the default properties for the ApplicationPool class. |
SiteDefaults |
A read/write SiteElementDefaults value that contains the default values for an IIS Web site. |
VirtualDirectoryDefaults |
A read/write VirtualDirectoryElementDefaults value that exposes default configuration settings for IIS virtual directories. |
Subclasses
This class contains no subclasses.
Remarks
The Server object is a singleton object (that is, there is only one instance per computer) and, therefore, does not have any key properties.
Inheritance Hierarchy
Server
Requirements
Type |
Description |
---|---|
Client |
Requires IIS 7 on Windows Vista. |
Server |
Requires IIS 7 on Windows Server 2008. |
Product |
IIS 7 |
MOF file |
WebAdministration.mof |
See Also
Reference
ApplicationElementDefaults Class [IIS 7 and higher]
ApplicationPool Class [IIS 7 and higher]
ApplicationPoolElementDefaults Class [IIS 7 and higher]
ConfiguredObject Class [IIS 7 and higher]