Share via


IIsFilter (ADSI)

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

Parameters
  • 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
Windows ADSI Object Properties
Metabase Properties
FilterDescription FilterPath
FilterEnabled FilterState
FilterFlags
Methods
Windows ADSI Object Methods Standard methods for ADSI objects.