IFPCWebListenerProperties::NumberOfConnections property

Applies to: desktop apps only

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

This property is read/write.

Syntax

HRESULT put_NumberOfConnections(
  long lNumber
);

HRESULT get_NumberOfConnections(
  long **plNumber
);
' Data type: Long

Property NumberOfConnections( _
  ByVal lNumber As long, _
  ByVal plNumber As long _
) As Long

Property value

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

Error codes

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

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCWebListenerProperties

 

 

Build date: 7/12/2010