MaxConnections
MaxConnections specifies the maximum number of simultaneous connections to a server. The valid range is 0 to 4294967295 (unlimited). The MaxClientsMessage property can be used to send a message to clients when this value has been exceeded.
The metabase represents unlimited as the DWORD value of 4294967295 (0xFFFFFFFF); however, VBScript represents unlimited in hexadecimal format as &HFFFFFFFF. Previous versions of IIS represented unlimited as -1.
Attribute Name | Attribute Value |
---|---|
XML Data Type | DWORD |
WMI Data Type |
SINT32
|
ADSI Data Type | DWORD |
ABO Data Type | DWORD |
ABO Metabase identifier |
MD_MAX_CONNECTIONS
|
Attributes | INHERIT |
Default Value | 0 |
MetaFlagsEx | CACHE_PROPERTY_MODIFIED |
User Type | IIS_MD_UT_SERVER |
StartingNumber | Not applicable |
EndingNumber | Not applicable |
ID | 1014 |
Configurable Locations
You can configure this property at the following locations in the IIS metabase.
Metabase Path | IIS Admin Object Type |
---|---|
/LM/W3SVC/n | IIsWebServer |
/LM/MSFTPSVC/n | IIsFtpServer |
/LM/W3SVC | IIsWebService |
/LM/MSFTPSVC | IIsFtpService |
/LM/NNTPSVC | IIsNntpService |
/LM/NNTPSVC/n | IIsNntpServer |
/LM/SMTPSVC | IIsSmtpService |
/LM/SMTPSVC/n | IIsSmtpServer |
Code Example
For general code examples, please see Code Examples to Configure Metabase Properties