Microsoft Internet Security and Acceleration Server 2000

Deleting a Filter

The following examples show how to delete a filter.

Visual Basic Example

Use the following Visual Basic code to remove an ISA Web filter.

Set objWebFilters = objFPC.Arrays.GetContainingArray.Extensions.WebFilters
objWebFilters.Remove (Guid)

Visual Basic Scripting Edition Example

To delete the filter, create a file called Delete.vbs, and then insert the following code:

set FPC = WScript.CreateObject("FPC.Root")
Set filters = FPC.Arrays.GetContainingArray.Extensions.WebFilters
WScript.Echo "done"