IIsWebFile

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}
 

Parts

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

ADSI Object Properties

Metabase Properties

AccessExecute CacheControlNoCache
AccessFlags CreateCGIWithNewConsole
AccessNoRemoteExecute CreateProcessAsUser
AccessNoRemoteRead DefaultDocFooter
AccessNoRemoteScript DefaultLogonDomain
AccessNoRemoteWrite DontLog
AccessRead EnableDocFooter
AccessScript EnableReverseDns
AccessSSL HttpCustomHeaders
AccessSSL128 HttpErrors
AccessSSLFlags HttpExpires
AccessSSLMapCert HttpPics
AccessSSLNegotiateCert HttpRedirect
AccessSSLRequireCert IPSecurity
AccessWrite LogonMethod
AnonymousPasswordSync MimeMap
AnonymousUserName PoolIDCTimeout
AnonymousUserPass PutReadSize
AuthAnonymous Realm
AuthBasic RedirectHeaders
AuthFlags ScriptMaps
AuthNTLM SSIExecDisable
AuthPersistence UNCAuthenticationPassthrough
CacheControlCustom UploadReadAheadSize
CacheControlMaxAge

Methods

ADSI Object Methods Standard methods for ADSI objects.
Common Object Methods Methods, other than ADSI methods, common to all IIS Admin Objects.