Share via


IIsWebInfo (ADSI)

Some metabase properties associated with the Web service are stored at the Info subkey of the W3SVC key. You can use the IIsWebInfo object to set values for these properties.

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

ADsPath

  • IIS:// MachineName/W3SVC/INFO

where MachineName can be any name or "LocalHost."

Syntax

varReturn = object. Method

Parameters

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

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

  • Method
    The object method chosen.

Properties

Windows ADSI Object Properties

Metabase Properties

AdminServer

LogModuleList

CustomErrorDescriptions

ServerConfigFlags

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