Compartilhar 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.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS