The SetSizeBound method sets the size limit according to which objects can or cannot be cached.
HRESULT SetSizeBound( [in] VARIANT_BOOL Enable, [in, optional] long Size, [in, optional] FpcSizeUnits Units );
Required. Boolean value that indicates whether the size limit is enabled.
A 32-bit integer that defines the size limit. The default value is 0.
Value from the FpcSizeUnits enumeration that indicates whether the size limit is defined in kilobytes, megabytes, or gigabytes. The default value is fpcKB, which indicates that the size limit is defined in kilobytes.
Sub SetSizeBound( _ ByVal Enable As Boolean, _ [ ByVal Size As Long ], _ [ ByVal Units As FpcSizeUnits ] _ )
Required. Boolean value that indicates whether the size limit is enabled.
A 32-bit integer that defines the size limit. The default value is 0.
Value from the FpcSizeUnits enumeration that indicates whether the size limit is defined in kilobytes, megabytes, or gigabytes. The default value is fpcKB, which indicates that the size limit is defined in kilobytes.
This method has no return values. If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.
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. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.