SiteLimits Class [IIS 7 and higher]
Exposes connection-related limits for a site.
Syntax
class SiteLimits : EmbeddedObject
Methods
This class contains no methods.
Properties
The following table lists the properties exposed by the SiteLimits class.
Name |
Description |
---|---|
ConnectionTimeout |
A read/write datetime value that specifies the time that IIS waits before it considers a connection inactive and terminates it. The default is 2 minutes. |
MaxBandwidth |
A read/write uint32 value that specifies the maximum network bandwidth, in bytes per second, used for IIS. You can use MaxBandwidth help prevent excessive IIS network traffic.
Note:
Although the IIS_Schema.xml file specifies 4294967295 (unlimited) as the default for this property, the default returned by the WMI provider is -1.
|
MaxConnections |
A read/write uint32 value that specifies the maximum number of simultaneous connections to a server.
Note:
Although the IIS_Schema.xml file specifies 4294967295 (unlimited) as the default for this property, the default returned by the WMI provider is -1.
|
Subclasses
This class contains no subclasses.
Remarks
Instances of this class are contained in the Limits property of the Site class and the SiteElementDefaults class.
Inheritance Hierarchy
SiteLimits
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
EmbeddedObject Class [IIS 7 and higher]
SiteElementDefaults Class [IIS 7 and higher]