Export (0) Print
Expand All

MemoryUsagePercentage Property of IFPCCacheConfiguration[C++] | FPCCacheConfiguration.MemoryUsagePercentage [Visual Basic]

Internet Security and Acceleration Server 2004/2006 SDK

The MemoryUsagePercentage property gets or sets the percentage of physical memory that may be used for caching.


HRESULT get_MemoryUsagePercentage(
  long* plMemoryUsage );

HRESULT put_MemoryUsagePercentage(
  long lMemoryUsage );

Parameters

plMemoryUsage
Pointer to a variable that on return receives a 32-bit integer specifying the percentage of physical memory that may be used for caching.
lMemoryUsage
A 32-bit integer that specifies the percentage of physical memory that may be used for caching.

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 10, and its range of permissible values is from 0 through 100.

This property corresponds to the Percentage of free memory to use for caching setting in ISA Server Management.

If you are using a particular computer primarily for ISA Server, this number should be higher because a higher percentage will increase the efficiency of the cache. If the computer's resources are needed for other services, you may want to consider lowering the percentage of physical memory used for ISA Server. For more information, see ISA Server Caching Mechanism.

After the value of the MemoryUsagePercentage property has been modified, the change must be written to persistent storage by calling the Save method, and the Microsoft Firewall service must be restarted for the change to take effect. For more information about restarting the Firewall service to apply changes, see Restarting Services After Configuration Changes.

The MemoryUsagePercentage property gets or sets the percentage of physical memory that may be used for caching.


Property MemoryUsagePercentage As Long

Property Value

A 32-bit integer that specifies the percentage of physical memory that may be used for caching.

Remarks

This property is read/write. Its default value is 10, and its range of permissible values is from 0 through 100.

This property corresponds to the Percentage of free memory to use for caching setting in ISA Server Management.

If you are using a particular computer primarily for ISA Server, this number should be higher because a higher percentage will increase the efficiency of the cache. If the computer's resources are needed for other services, you may want to consider lowering the percentage of physical memory used for ISA Server. For more information, see ISA Server Caching Mechanism.

After the value of the MemoryUsagePercentage property has been modified, the change must be written to persistent storage by calling the Save method, and the Microsoft Firewall service must be restarted for the change to take effect. For more information about restarting the Firewall service to apply changes, see Restarting Services After Configuration Changes.

Requirements

Client Requires Windows XP.
Server Requires Windows Server 2003. Requires Windows Server 2003 or Windows 2000 for ISA Server 2004 Standard Edition.
Version Requires Internet Security and Acceleration (ISA) Server 2006 or ISA Server 2004.
IDL

Declared in Msfpccom.idl.

DLL Requires Msfpccom.dll.

See Also

FPCCacheConfiguration

Show:
© 2014 Microsoft