ConnectionManagementElement Class [IIS 7 and higher]

Defines the maximum number of connections to a server or group of servers.

Syntax

class ConnectionManagementElement : CollectionElement

Methods

This class contains no methods.

Properties

The following table lists the properties exposed by the ConnectionManagementElement class.

Name

Description

Address

A required unique read/write string value that contains a .NET Framework regular expression that specifies an IP address or DNS name of a network host. The key property.

MaxConnection

A read/write sint32 value that specifies the maximum number of connections allowed to a server. The default is 2.

Subclasses

This class contains no subclasses.

Remarks

Instances of this class are contained in the ConnectionManagement property of the ConnectionManagementSection class.

Inheritance Hierarchy

CollectionElement

   ConnectionManagementElement

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

CollectionElement Class [IIS 7 and higher]

Other Resources

<connectionManagement> Element (Network Settings)

.NET Framework Regular Expressions