NumberOfConnections Property of the IFPCWebListenerProperties Interface

The NumberOfConnections property gets or sets the number of concurrent connections that may be accepted by the Web listener.

[C++]
HRESULT put_NumberOfConnections(
	long lNumber
);
HRESULT get_NumberOfConnections(
	long** plNumber
);

Parameters

plNumber

Pointer to a variable that on return receives a 32-bit integer specifying the number of concurrent connections that may be accepted by the Web listener.

lNumber

A 32-bit integer value that specifies the number of concurrent connections that may be accepted by the Web listener.

Return Value

These property methods return S_OK if the call is successful; otherwise, they return an error code.

[Visual Basic]
Property NumberOfConnections As Long

Property Value

A 32-bit integer value that specifies the number of concurrent connections that may be accepted by the Web listener.

Remarks

This property is read/write. Its default value is 0.

This property is ignored when the UnlimitedNumberOfConnections property is set to True (VARIANT_TRUE in C++), which is its default value.

Requirements

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCWebListenerProperties


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.