Microsoft Internet Security and Acceleration Server 2000

FPCWebFilters.Add Method

Adds a new FPCWebFilter object.

VBScript Syntax[VBScript]

[ oFPCWebFilter = ] FPCWebFilter .Add( sGuid, sName, sRelativePath, FpcFilterPriority, Direction )

C++ Syntax[C++]

HRESULT Add(
  BSTR sGuid, 
  BSTR sName, 
  BSTR sRelativePath, 
  FpcFilterPriority FpcFilterPriority, 
  FpcFilterDirection Direction, 
  IFPCWebFilter **ppoFPCWebFilter
);

Parameters

sGuid
Required. String that specifies the GUID of the new filter.
sName
Required. String that specifies the display name of the new filter.
sRelativePath
Required. String that specifies the path of the filter DLL relative to the ISA installation directory (such as \Program Files\Microsoft ISA Server\.
FpcFilterPriority
Filter priority. Can have a value from the FpcFilterPriority enumerated type.
Direction
Filter direction. Can have a value from the FpcFilterDirection enumerated type, including reverse, forward, or both directions.

Return Value

oFPCWebFilter
Returns a reference to the new FPCWebFilter object.

Note  When you add a Web filter to the FPCWebFilters 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

FPCWebFilters

See Also

FPCWebFilter