共用方式為


IIsLogModule (ADSI)

You can use the IIsLogModule object to set metabase properties that affect the operation of logging modules. You can set filter properties at the computer level (IIsComputer), at the FTP and Web service level, or for an individual FTP or Web server.

The IIsLogModule object is an ADSI object but not an ADSI container object.

ADsPath

  • IIS:// MachineName/LOGGING/ LogModuleName

where MachineName can be any name or LocalHost, and LogModuleName is the name of a log module.

Syntax

varReturn = object. Method

Parameters

  • varReturn
    A variable that receives the return value from the method.

  • object
    A variable that contains the IIsLogModule object, usually as a result of a previous GetObject operation.

  • Method
    The object method chosen.

Properties

Windows ADSI Object Properties

Metabase Properties

LogModuleId

LogModuleUiId

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