[This is preliminary documentation and subject to change]

## IIsFilter

You can use the IIsFilter object to set metabase properties that affect the operation of ISAPI filters. You can set filter properties at the Web service level or for an individual Web server.

The IIsFilter object is an ADSI object, but not an ADSI container object.

###### ADsPath

IIS://MachineName/W3SVC/Filters/FilterName

where MachineName can be any name or "LocalHost."

or

IIS://MachineName/W3SVC/N/Filters/FilterName

where MachineName can be any name or "LocalHost," and N is the number of a Web server.

###### Syntax

varReturn=object.Method

###### Parts

varReturn
  A variable that receives the return value from the method.
object
  A variable that contains the IIsFilter object, usually as a result of a previous GetObject operation.
Method
  The object method chosen.

###### Properties

ADSI Object Properties |

###### Metabase Properties

FilterDescription | FilterPath
FilterEnabled | FilterState
FilterFlags |

###### Methods

ADSI Object Methods | Standard methods for ADSI objects

© 1997-2001 Microsoft Corporation. All rights reserved.