Microsoft Internet Security and Acceleration Server 2000

Changing Filter Order

You can change the filter order as needed.

Visual Basic Example

Use the following Visual Basic code to move the first filter one place lower in the filter order:

Set objWebFilters = objFPC.Arrays.GetContainingArray.Extensions.WebFilters
	objWebFilters.MoveDown 1

Visual Basic Scripting Edition Example

In this example, the first filter becomes the second to be called among filters with the same priority. Create a file called MoveDown.vbs, and then insert the following code:

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