SiteLimits Class1

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

EmbeddedObject

SiteLimits

Requirements

Type Description
Client - IIS 7.0 on Windows Vista
- IIS 7.5 on Windows 7
- IIS 8.0 on Windows 8
- IIS 10.0 on Windows 10
Server - IIS 7.0 on Windows Server 2008
- IIS 7.5 on Windows Server 2008 R2
- IIS 8.0 on Windows Server 2012
- IIS 8.5 on Windows Server 2012 R2
- IIS 10.0 on Windows Server 2016
Product - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0
MOF file WebAdministration.mof

See Also

EmbeddedObject Class
Site Class
SiteElementDefaults Class
CIM_DATETIME