Microsoft Internet Security and Acceleration Server 2000

FPCCacheDrives.Add Method

Creates a new FPCCacheDrive object in the collection and returns a reference to it. The Save method must be called for the additional FPCCacheDrive object to be saved to persistent storage.

An ISA Server cache drive must be in NTFS format, and have a minimum size of 5 megabytes.

VBScript Syntax[VBScript]

[ oFPCCacheDrive = ] FPCCacheDrives.Add( sName, lCacheLimitInMegs )

C++ Syntax[C++]

HRESULT Add(
  BSTR sName, 
  long lCacheLimitInMegs, 
  IFPCCacheDrive **ppoFPCCacheDrive
);

Parameters

sName
Required. String that specifies the name of the new cache drive, such as "C:".
lCacheLimitInMegs
Required. Long value that specifies the size, in megabytes, allocated to the cache in this particular drive.

Return Values

oFPCCacheDrive
Reference to the FPCCacheDrive object.

Note  When you add a drive to the FPCCacheDrives collection, and have saved changes by using the Save method, the Web proxy (w3proxy) service must be restarted for your change to take effect. To stop and restart the Web proxy service use the FPCArray.SendRestartNotification method.

Applies To

FPCCacheDrives