Microsoft Internet Security and Acceleration Server 2004 SDK |
The 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.
HRESULT Add( BSTR Name, long CacheLimitInMegs, IFPCCacheDrive** ppNewCacheDrive );
This method can return one of the following:
When you add a drive to the FPCCacheDrives collection, and have saved changes by using the Save method, the Microsoft Firewall service must be restarted for your change to take effect. To stop and restart the Firewall service, use the IFPCArray::RestartServices method.
The 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.
Function Add( _ ByVal Name As String, _ ByVal CacheLimitInMegs As Long _ ) As FPCCacheDrive
This method returns a reference to the FPCCacheDrive object added if the call is successful. Otherwise, an error is raised that can be intercepted by using an error handler.
When you add a drive to the FPCCacheDrives collection, and have saved changes by using the Save method, the Microsoft Firewall service must be restarted for your change to take effect. To stop and restart the Firewall service, use the FPCArray.RestartServices method.
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.