Microsoft Internet Security and Acceleration Server 2004 SDK |
The Add method creates a new FPCCacheRule object, inserts it into the collection, and returns a reference to it.
HRESULT Add( BSTR Name, IFPCCacheRule** ppNewRule );
This method can return one of the following:
The Add method creates a new FPCCacheRule object, inserts it into the collection, and returns a reference to it.
Function Add( _ ByVal Name As String _ ) As FPCCacheRule
This method returns a reference to an FPCCacheRule object if successful. Otherwise, an error is raised that can be intercepted by using an error handler.
For a VBScript code example that shows how to use this method to add new cache rules to the cache rules collection and then set their properties, see Adding Cache Rules.
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.