Share via


IIsWebFile (ADSI)

You can use the IIsWebFile object to set metabase key values that apply to a file in a Web directory for a Web virtual server. Metabase property values set for a specific file will override inherited values that have been set at a higher level in the metabase hierarchy.

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

ADsPath

IIS://MachineName/W3SVC/n/Root/vdirName/DirName/ FileName

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 IIsWebFile object, usually as a result of a previous GetObject operation.
  • Method
    The object method chosen.
Properties

Windows ADSI Object Properties

Metabase Properties

AccessFlags EnableReverseDns
AccessSSLFlags HttpCustomHeaders
AnonymousPasswordSync HttpErrors
AnonymousUserName HttpExpires
AnonymousUserPass HttpPics
AuthFlags HttpRedirect
AuthPersistence IPSecurity
CacheControlCustom LogonMethod
CacheControlMaxAge MimeMap
CacheControlNoCache PoolIdcTimeout
CreateCGIWithNewConsole
CreateProcessAsUser Realm
DefaultDocFooter RedirectHeaders
DefaultLogonDomain ScriptMaps
DontLog SSIExecDisable
EnableDocFooter
UploadReadAheadSize
Methods
Windows ADSI Object Methods Standard methods for ADSI objects.