Microsoft Internet Security and Acceleration Server 2000

FPCDestinationSet.Add Method

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

VBScript Syntax[VBScript]

[ oFPCDestination = ] FPCDestinationSet.Add( sDomainOrIpFrom, sIp_To, sPath )

C++ Syntax[C++]

HRESULT Add(
  BSTR sDomainOrIpFrom, 
  BSTR sIp_To, 
  BSTR sPath, 
  IFPCDestination **ppoFPCDestination
);

Parameters

sDomainOrIpFrom
Required. String that specifies the domain name or IP address for the new destination.
sIp_To
Optional. String that specifies an IP upper bound that defines the destination as an IP range pair using this value and the value of the IP parameter. This parameter should be supplied only if the previous parameter is an IP address.
sPath
Optional. String value that specifies the path property of the destination to be added. A path must start with a slash mark (/). For example:/Images/*.

Return Values

oFPCDestination
Reference to the FPCDestination object.

Applies To

FPCDestinationSet