Microsoft Internet Security and Acceleration Server 2004 SDK

ConnectCacheSize Property of IFPCWebProxy[C++]

FPCWebProxy.ConnectCacheSize [Visual Basic]

[C++]

The ConnectCacheSize property gets or sets the size of the connection cache.

HRESULT get_ConnectCacheSize(
  long* plCacheSize
);

HRESULT put_ConnectCacheSize(
  long lCacheSize
);

Parameters

plCacheSize
Pointer to a variable that is set on return to a 32-bit integer specifying the size of the connection cache.
lCacheSize
A 32-bit integer that specifies the size of the connection cache.

Return Values

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 128, and its range of permissible values is from 0 to 50,000.

After the value of this property has been changed, and the change has been saved by calling the Save method, the Microsoft Firewall service must be restarted for the change to take effect. The Firewall service can be restarted by calling the IFPCArray::RestartServices method.

[Visual Basic]

The ConnectCacheSize property gets or sets the size of the connection cache.

Property ConnectCacheSize As Long

Property Value

A 32-bit integer that specifies the size of the connection cache.

Remarks

This property is read/write. Its default value is 128, and its range of permissible values is from 0 to 50,000.

After the value of this property has been changed, and the change has been saved by calling the Save method, the Microsoft Firewall service must be restarted for the change to take effect. The Firewall service can be restarted by calling the FPCArray.RestartServices method.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCWebProxy